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 c8fc318 commit 02d7cf8Copy full SHA for 02d7cf8
1 file changed
lib/matplotlib/figure.py
@@ -1555,7 +1555,7 @@ def gca(self, **kwargs):
1555
else:
1556
warnings.warn('Requested projection is different from '
1557
'current axis projection, creating new axis '
1558
- 'with requested projection.')
+ 'with requested projection.', stacklevel=2)
1559
1560
# no axes found, so create one which spans the figure
1561
return self.add_subplot(1, 1, 1, **kwargs)
0 commit comments