File tree 1 file changed +2
-2
lines changed
doc/api/next_api_changes/deprecations
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ Nothing will change for regular users because ``rcParams`` will continue to
6
6
be dict-like (technically fulfill the ``MutableMapping `` interface).
7
7
8
8
The `.RcParams ` class does validation checking on calls to
9
- `.RcParams.__get_item__ ` and `.RcParams.__set_item__ `. However, there are rare
9
+ `` .RcParams.__getitem__ `` and `` .RcParams.__setitem__ ` `. However, there are rare
10
10
cases where we want to circumvents the validation logic and directly access the
11
11
underlying data values. Previously, this could be accomplished via a call to
12
12
the parent methods ``dict.__getitem__(rcParams, key) `` and
@@ -15,7 +15,7 @@ the parent methods ``dict.__getitem__(rcParams, key)`` and
15
15
Matplotlib 3.7 introduces ``rcParams._set(key, val) `` and
16
16
``rcParams._get(key) `` as a replacement to calling the parent methods. They are
17
17
intentionally marked private because there is little need for external users
18
- to use them. However, if you have a compelling reason for direct `.RcParam `
18
+ to use them. However, if you have a compelling reason for direct `.RcParams `
19
19
data access, please switch from the dict functions to the new ``_get() `` and
20
20
``_set() ``. Even though marked private, we guarantee API stability for these
21
21
methods and they are subject to Matplotlib's API and deprecation policy.
You can’t perform that action at this time.
0 commit comments