File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -556,7 +556,7 @@ def isinteractive() -> bool:
556556 return matplotlib .is_interactive ()
557557
558558
559- def ioff () -> ExitStack :
559+ def ioff () -> AbstractContextManager :
560560 """
561561 Disable interactive mode.
562562
@@ -586,7 +586,7 @@ def ioff() -> ExitStack:
586586 # ...
587587
588588 To enable optional usage as a context manager, this function returns a
589- `~contextlib.ExitStack` object, which is not intended to be stored or
589+ context manager object, which is not intended to be stored or
590590 accessed by the user.
591591 """
592592 stack = ExitStack ()
@@ -596,7 +596,7 @@ def ioff() -> ExitStack:
596596 return stack
597597
598598
599- def ion () -> ExitStack :
599+ def ion () -> AbstractContextManager :
600600 """
601601 Enable interactive mode.
602602
@@ -626,7 +626,7 @@ def ion() -> ExitStack:
626626 # ...
627627
628628 To enable optional usage as a context manager, this function returns a
629- `~contextlib.ExitStack` object, which is not intended to be stored or
629+ context manager object, which is not intended to be stored or
630630 accessed by the user.
631631 """
632632 stack = ExitStack ()
You can’t perform that action at this time.
0 commit comments