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

Skip to content

Commit c6425b1

Browse files
timhoffmQuLogic
andauthored
Apply suggestions from code review
Co-authored-by: Elliott Sales de Andrade <[email protected]>
1 parent e29ab5b commit c6425b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/next_api_changes/deprecations/24730-TH.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Nothing will change for regular users because ``rcParams`` will continue to
66
be dict-like (technically fulfill the ``MutableMapping`` interface).
77

88
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
1010
cases where we want to circumvents the validation logic and directly access the
1111
underlying data values. Previously, this could be accomplished via a call to
1212
the parent methods ``dict.__getitem__(rcParams, key)`` and
@@ -15,7 +15,7 @@ the parent methods ``dict.__getitem__(rcParams, key)`` and
1515
Matplotlib 3.7 introduces ``rcParams._set(key, val)`` and
1616
``rcParams._get(key)`` as a replacement to calling the parent methods. They are
1717
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`
1919
data access, please switch from the dict functions to the new ``_get()`` and
2020
``_set()``. Even though marked private, we guarantee API stability for these
2121
methods and they are subject to Matplotlib's API and deprecation policy.

0 commit comments

Comments
 (0)