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 6a26aed commit 2365428Copy full SHA for 2365428
1 file changed
lib/matplotlib/backends/__init__.py
@@ -21,8 +21,11 @@ def pylab_setup():
21
backend_name = 'backend_'+backend
22
backend_name = backend_name.lower() # until we banish mixed case
23
backend_name = 'matplotlib.backends.%s'%backend_name.lower()
24
+
25
+ # the last argument is specifies whether to use absolute or relative
26
+ # imports. 0 means only perform absolute imports.
27
backend_mod = __import__(backend_name,
- globals(),locals(),[backend_name])
28
+ globals(),locals(),[backend_name],0)
29
30
# Things we pull in from all backends
31
new_figure_manager = backend_mod.new_figure_manager
0 commit comments