We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 260186a commit c541adbCopy full SHA for c541adb
lib/matplotlib/backends/backend_gtk.py
@@ -711,6 +711,7 @@ def save_figure(self, *args):
711
fname, format = chooser.get_filename_from_user()
712
chooser.destroy()
713
if fname:
714
+ startpath = os.path.expanduser(rcParams['savefig.directory'])
715
# Save dir for next time, unless empty str (i.e., use cwd).
716
if startpath != "":
717
rcParams['savefig.directory'] = (
0 commit comments