Thanks to visit codestin.com Credit goes to github.com
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 4033abd commit ecc1f94Copy full SHA for ecc1f94
1 file changed
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