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 936674b commit 4cde730Copy full SHA for 4cde730
1 file changed
lib/matplotlib/backend_bases.py
@@ -1553,7 +1553,7 @@ def _draw(renderer): raise Done(renderer)
1553
return figure._cachedRenderer
1554
1555
1556
-def is_non_interactive_terminal_ipython(ip):
+def _is_non_interactive_terminal_ipython(ip):
1557
"""
1558
Return whether we are in a a terminal IPython, but non interactive.
1559
@@ -1666,7 +1666,7 @@ def _fix_ipython_backend2gui(cls):
1666
1667
try:
1668
mpl.rcParamsOrig["backend"] = mpl.rcParams["backend"]
1669
- if is_non_interactive_terminal_ipython(ip):
+ if _is_non_interactive_terminal_ipython(ip):
1670
pass
1671
else:
1672
ip.enable_matplotlib()
0 commit comments