, , , . , Python. os.getcwd(), , . , ggsave.
ggsave(plot = p, filename = file_name, path = "C:\Documents\Graphs")
, User3926962 ggsave, , , p - . , , - , ggsave , , :
ggsave(p, filename = file_name)
:
TypeError: ggsave() 'filename'
, :
ggsave(plot = p, filename = file_name)
:
ggsave(filename = None, plot = None, device = None, format = None,
path = None, scale = 1, width = None, height = None, units = "in",
dpi = 300, limitsize=True, **kwargs)