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.
close-figs
1 parent d9f02a9 commit 5e4a602Copy full SHA for 5e4a602
doc/users/whats_new.rst
@@ -66,6 +66,14 @@ New backend selection
66
The environment variable :envvar:`MPLBACKEND` can now be used to set the
67
matplotlib backend.
68
69
+New ``close-figs`` argument for plot directive
70
+----------------------------------------------
71
+
72
+Matplotlib has a sphinx extension ``plot_directive`` that creates plots for
73
+inclusion in sphinx documents. Matplotlib 1.5 adds a new option to the plot
74
+directive - ``close-figs`` - that closes any previous figure windows before
75
+creating the plots. This can help avoid some surprising duplicates of plots
76
+when using ``plot_directive``.
77
78
.. _whats-new-1-4:
79
0 commit comments