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.
2 parents 9a9c8b8 + bc5add6 commit 2f6928fCopy full SHA for 2f6928f
1 file changed
lib/matplotlib/backends/backend_gtk3.py
@@ -570,7 +570,7 @@ def on_notify_filter(*args):
570
ff = dialog.get_filter() # Doesn't autoadjust to filename :/
571
fmt = self.canvas.get_supported_filetypes_grouped()[ff.get_name()][0]
572
dialog.destroy()
573
- if response == Gtk.ResponseType.CANCEL:
+ if response != Gtk.ResponseType.OK:
574
return
575
# Save dir for next time, unless empty str (which means use cwd).
576
if mpl.rcParams['savefig.directory']:
0 commit comments