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

Skip to content

Commit 3b04c7d

Browse files
authored
Merge pull request #16595 from anntzer/docrefs
Minor docstring/references update.
2 parents 512b553 + 0e661f5 commit 3b04c7d

File tree

5 files changed

+7
-22
lines changed

5 files changed

+7
-22
lines changed

doc/devel/MEP/MEP22.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ Methods for **Backend implementation**
180180
Backward compatibility
181181
======================
182182

183-
For backward compatibility added a 'navigation' key to
184-
`rcsetup.validate_toolbar`, that is used for Navigation classes
183+
For backward compatibility added 'navigation' to the list of values
184+
supported by :rc:`toolbar`, that is used for Navigation classes
185185
instantiation instead of the NavigationToolbar classes
186186

187187
With this parameter, it makes it transparent to anyone using the

doc/missing-references.json

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1481,9 +1481,6 @@
14811481
"next_whats_new": [
14821482
"doc/users/next_whats_new/README.rst:6"
14831483
],
1484-
"number": [
1485-
"lib/matplotlib/pyplot.py:docstring of matplotlib.pyplot.figure:8"
1486-
],
14871484
"numpy.datetime64": [
14881485
"doc/api/prev_api_changes/api_changes_2.1.0.rst:95",
14891486
"doc/faq/howto_faq.rst:18",
@@ -1518,15 +1515,6 @@
15181515
"pyplot.set_loglevel": [
15191516
"doc/users/prev_whats_new/whats_new_3.1.0.rst:377"
15201517
],
1521-
"quiverkey": [
1522-
"lib/matplotlib/quiver.py:docstring of matplotlib.quiver.Quiver:247"
1523-
],
1524-
"rc_file_defaults": [
1525-
"lib/matplotlib/pyplot.py:docstring of matplotlib.pyplot.rcdefaults:18"
1526-
],
1527-
"rcsetup.validate_toolbar": [
1528-
"doc/devel/MEP/MEP22.rst:183"
1529-
],
15301518
"remove_canvas": [
15311519
"doc/devel/MEP/MEP23.rst:63"
15321520
],

lib/matplotlib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ def rcdefaults():
955955
956956
See Also
957957
--------
958-
rc_file_defaults
958+
matplotlib.rc_file_defaults
959959
Restore the `.rcParams` from the rc file originally loaded by
960960
Matplotlib.
961961
matplotlib.style.use

lib/matplotlib/fontconfig_pattern.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,9 @@
55
https://www.freedesktop.org/software/fontconfig/fontconfig-user.html
66
"""
77

8-
# This class is defined here because it must be available in:
9-
# - The old-style config framework (:file:`rcsetup.py`)
10-
# - The font manager (:file:`font_manager.py`)
11-
12-
# It probably logically belongs in :file:`font_manager.py`, but placing it
13-
# there would have created cyclical dependency problems.
8+
# This class logically belongs in `matplotlib.font_manager`, but placing it
9+
# there would have created cyclical dependency problems, because it also needs
10+
# to be available from `matplotlib.rcsetup` (for parsing matplotlibrc files).
1411

1512
from functools import lru_cache
1613
import re

lib/matplotlib/quiver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
189189
See Also
190190
--------
191-
quiverkey : Add a key to a quiver plot.
191+
.Axes.quiverkey : Add a key to a quiver plot.
192192
""" % docstring.interpd.params
193193

194194

0 commit comments

Comments
 (0)