Figdir change error?

I tried to change the figdir and it keeps getting an error:

AttributeError: ‘str’ object has no attribute ‘mkdir’

I am not sure why I used the same code previously and it worked perfectly.

Code:
sc._settings.ScanpyConfig(figdir =
‘/Volumes/G-DRIVE mobile/Lynch_Lab_Data_Drive/figures/’
)

<scanpy._settings.ScanpyConfig at 0x7fd1e1ac9190>

sc.pl.umap(Tgd,
color=[‘SINGLECELL_TYPE’],
size = 25,
sort_order=True,
save = ‘test1.png’
)

ERROR: AttributeError: ‘str’ object has no attribute ‘mkdir’

can anyone tell me what I am doing wrong??