Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4cde730

Browse files
committed
MNT: rename helper to be private
1 parent 936674b commit 4cde730

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/matplotlib/backend_bases.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1553,7 +1553,7 @@ def _draw(renderer): raise Done(renderer)
15531553
return figure._cachedRenderer
15541554

15551555

1556-
def is_non_interactive_terminal_ipython(ip):
1556+
def _is_non_interactive_terminal_ipython(ip):
15571557
"""
15581558
Return whether we are in a a terminal IPython, but non interactive.
15591559
@@ -1666,7 +1666,7 @@ def _fix_ipython_backend2gui(cls):
16661666

16671667
try:
16681668
mpl.rcParamsOrig["backend"] = mpl.rcParams["backend"]
1669-
if is_non_interactive_terminal_ipython(ip):
1669+
if _is_non_interactive_terminal_ipython(ip):
16701670
pass
16711671
else:
16721672
ip.enable_matplotlib()

0 commit comments

Comments
 (0)