@figdir.setter
def figdir(self, figdir: Union[(str, Path)]):
    _type_check(figdir, 'figdir', (str, Path))
    self._figdir = Path(figdir)
@figdir.setter
def figdir(self, figdir: Union[(str, Path)]):
    _type_check(figdir, 'figdir', (str, Path))
    self._figdir = Path(figdir)