Skip to content

Commit 81fbb8f

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backend_managers.py

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy