Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 81fbb8f

Browse filesBrowse files
committed
Merge pull request #4743 from QuLogic/toolmanager-import
BUG: Fix alternate toolbar import on Python 3.
2 parents 8139afc + 47e8cdb commit 81fbb8f
Copy full SHA for 81fbb8f

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/backend_managers.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backend_managers.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ def _get_cls_to_instantiate(self, callback_class):
304304
else:
305305
mod = 'backend_tools'
306306
current_module = __import__(mod,
307-
globals(), locals(), [mod], -1)
307+
globals(), locals(), [mod], 1)
308308

309309
callback_class = getattr(current_module, callback_class, False)
310310
if callable(callback_class):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.