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 7277226 commit 0f5840cCopy full SHA for 0f5840c
1 file changed
doc/api/next_api_changes/behavior/17371-IHI.rst
@@ -0,0 +1,7 @@
1
+ioff and ion can be used as context managers
2
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+
4
+``plt.ion()`` and ``plt.ioff()`` may now be used as context managers to create
5
+a context with interactive mode off, or on respectively. The old behavior of
6
+calling these functions was maintained. To use the new functionality
7
+call as ``with plt.ioff():``
0 commit comments