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 d762969 commit dc2402dCopy full SHA for dc2402d
1 file changed
lib/matplotlib/backend_bases.py
@@ -1669,11 +1669,7 @@ def _fix_ipython_backend2gui(cls):
1669
if _is_non_interactive_terminal_ipython(ip):
1670
pass
1671
else:
1672
- was_interactive = mpl.is_interactive()
1673
- try:
1674
- ip.enable_matplotlib()
1675
- finally:
1676
- mpl.interactive(was_interactive)
+ ip.enable_gui()
1677
1678
finally:
1679
mpl.rcParamsOrig["backend"] = orig_origbackend
0 commit comments