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 9bc9650 commit 73decf0Copy full SHA for 73decf0
lib/matplotlib/backends/__init__.py
@@ -32,7 +32,7 @@ def pylab_setup():
32
# by the backend, just do nothing
33
def do_nothing_show(*args, **kwargs):
34
frame = inspect.currentframe()
35
- fname = inspect.getframeinfo(frame.f_back)[0]
+ fname = frame.f_back.f_code.co_filename
36
if fname in ('<stdin>', '<ipython console>'):
37
warnings.warn("""
38
Your currently selected backend, '%s' does not support show().
0 commit comments