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 1c25c8a commit d70d826Copy full SHA for d70d826
1 file changed
lib/matplotlib/backend_bases.py
@@ -1743,7 +1743,7 @@ def _fix_ipython_backend2gui(cls):
1743
# `ipython --auto`). This cannot be done at import time due to
1744
# ordering issues, so we do it when creating a canvas, and should only
1745
# be done once per class (hence the `lru_cache(1)`).
1746
- if sys.modules.get("IPython", None) is None:
+ if sys.modules.get("IPython") is None:
1747
return
1748
import IPython
1749
ip = IPython.get_ipython()
0 commit comments