File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -556,6 +556,9 @@ def isinteractive() -> bool:
556
556
return matplotlib .is_interactive ()
557
557
558
558
559
+ # Note: The return type of ioff being AbstractContextManager instead of ExitStack is deliberate.
560
+ # See https://github.com/matplotlib/matplotlib/issues/27659
561
+ # and https://github.com/matplotlib/matplotlib/pull/27667 for more info.
559
562
def ioff () -> AbstractContextManager :
560
563
"""
561
564
Disable interactive mode.
@@ -596,6 +599,9 @@ def ioff() -> AbstractContextManager:
596
599
return stack
597
600
598
601
602
+ # Note: The return type of ion being AbstractContextManager instead of ExitStack is deliberate.
603
+ # See https://github.com/matplotlib/matplotlib/issues/27659
604
+ # and https://github.com/matplotlib/matplotlib/pull/27667 for more info.
599
605
def ion () -> AbstractContextManager :
600
606
"""
601
607
Enable interactive mode.
You can’t perform that action at this time.
0 commit comments