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.
2 parents 271db8c + 7ebee32 commit d0a0100Copy full SHA for d0a0100
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