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.
backend
1 parent 397bfc7 commit f118405Copy full SHA for f118405
1 file changed
lib/matplotlib/backends/__init__.py
@@ -40,10 +40,12 @@ def pylab_setup(name=None):
40
'''
41
# Import the requested backend into a generic module object
42
if name is None:
43
+ # validates, to match all_backends
44
+ name = matplotlib.get_backend()
45
# need to keep a global reference to the backend for compatibility
46
# reasons. See https://github.com/matplotlib/matplotlib/issues/6092
47
global backend
- name = backend
48
+ backend = name
49
if name.startswith('module://'):
50
backend_name = name[9:]
51
else:
0 commit comments