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

Skip to content

Commit da15745

Browse files
tacaswelltimhoffm
andauthored
DOC: Simplify API note text
Co-authored-by: Tim Hoffmann <[email protected]>
1 parent 7fce03e commit da15745

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed
Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
mpl.rc_context no longer resests the `'backend'` key
1+
mpl.rc_context no longer resests the value of `rcParams['backend']`
22
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33

4-
If you want to rest :rc:`backend` after the context, you must use
5-
`matplotlib.use` to change the backend. Previously the key would be reset, but
6-
it would have any of the expected side-effects because internally
7-
`matplotlib.rc_context` side-steps the custom logic in the
8-
`~matplotlib.RcParams` class (because we copied the values from ``rcParamms``
9-
so it does not need to be re-validated.
4+
`matplotlib.rc_context` did incorrectly reset the value of `rcParams['backend']` if backend
5+
resolution was triggered in the context. This affected only the value. The actual backend
6+
was not reset. Now, `matpotlib.rc_context` dose not modify `rcParams['backend']` anymore.

0 commit comments

Comments
 (0)