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 f1a988f commit 71617e2Copy full SHA for 71617e2
lib/matplotlib/backends/backend_wx.py
@@ -1555,7 +1555,7 @@ def save_figure(self, *args):
1555
warnings.warn(
1556
'extension %s did not match the selected '
1557
'image type %s; going with %s' %
1558
- (ext, format, ext), stacklevel=0)
+ (ext, format, ext), stacklevel=2)
1559
format = ext
1560
try:
1561
self.canvas.figure.savefig(
@@ -1721,7 +1721,7 @@ def trigger(self, *args):
1721
1722
1723
1724
1725
1726
if default_dir != "":
1727
matplotlib.rcParams['savefig.directory'] = dirname
0 commit comments