From 47e8cdb1e53aa65ec0b2f7e4419038bbedd4903c Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sun, 19 Jul 2015 04:16:53 -0400 Subject: [PATCH] BUG: Fix alternate toolbar import on Python 3. --- lib/matplotlib/backend_managers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/backend_managers.py b/lib/matplotlib/backend_managers.py index ef394743c89a..2af8cb88cc66 100644 --- a/lib/matplotlib/backend_managers.py +++ b/lib/matplotlib/backend_managers.py @@ -304,7 +304,7 @@ def _get_cls_to_instantiate(self, callback_class): else: mod = 'backend_tools' current_module = __import__(mod, - globals(), locals(), [mod], -1) + globals(), locals(), [mod], 1) callback_class = getattr(current_module, callback_class, False) if callable(callback_class): 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