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

Skip to content

Commit c0b9dc0

Browse files
committed
Added What's New entry for :context: reset
1 parent 5646af6 commit c0b9dc0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/users/whats_new.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,14 @@ url as a link in output SVGs. This allows one to make clickable text in
206206
saved figures using the url kwarg of the :class:`~matplotlib.text.Text`
207207
class.
208208

209+
Sphinx extensions
210+
-----------------
211+
212+
The ``:context:`` directive in the `~matplotlib.sphinxext.plot_directive`
213+
Sphinx extension can now accept an optional ``reset`` setting, which will
214+
cause the context to be reset. This allows more than one distinct context to
215+
be present in documentation. To enable this option, use ``:context: reset``
216+
instead of ``:context:`` any time you want to reset the context.
209217

210218
.. _whats-new-1-3:
211219

0 commit comments

Comments
 (0)