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

Skip to content

Commit a915bfa

Browse files
author
Oscar Gustafsson
committed
Fixed missing references
1 parent afb14cb commit a915bfa

File tree

3 files changed

+7
-32
lines changed

3 files changed

+7
-32
lines changed

doc/missing-references.json

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
11
{
22
"py:attr": {
3-
"axis": [
4-
"lib/matplotlib/category.py:docstring of matplotlib.category.StrCategoryLocator.tick_values:5",
5-
"lib/matplotlib/dates.py:docstring of matplotlib.dates.AutoDateLocator.tick_values:5",
6-
"lib/matplotlib/dates.py:docstring of matplotlib.dates.MicrosecondLocator.tick_values:5",
7-
"lib/matplotlib/dates.py:docstring of matplotlib.dates.RRuleLocator.tick_values:5",
8-
"lib/matplotlib/ticker.py:docstring of matplotlib.ticker.AutoMinorLocator.tick_values:5",
9-
"lib/matplotlib/ticker.py:docstring of matplotlib.ticker.IndexLocator.tick_values:5",
10-
"lib/matplotlib/ticker.py:docstring of matplotlib.ticker.LinearLocator.tick_values:5",
11-
"lib/matplotlib/ticker.py:docstring of matplotlib.ticker.Locator.tick_values:5",
12-
"lib/matplotlib/ticker.py:docstring of matplotlib.ticker.LogLocator.tick_values:5",
13-
"lib/matplotlib/ticker.py:docstring of matplotlib.ticker.LogitLocator.tick_values:5",
14-
"lib/matplotlib/ticker.py:docstring of matplotlib.ticker.MaxNLocator.tick_values:5",
15-
"lib/matplotlib/ticker.py:docstring of matplotlib.ticker.MultipleLocator.tick_values:5",
16-
"lib/matplotlib/ticker.py:docstring of matplotlib.ticker.SymmetricalLogLocator.tick_values:5"
17-
],
183
"cbar_axes": [
194
"lib/mpl_toolkits/axes_grid1/axes_grid.py:docstring of mpl_toolkits.axes_grid1.axes_grid.ImageGrid:45",
205
"lib/mpl_toolkits/axisartist/axes_grid.py:docstring of mpl_toolkits.axisartist.axes_grid.ImageGrid:45"
@@ -287,9 +272,6 @@
287272
"lib/matplotlib/collections.py:docstring of matplotlib.collections.PolyCollection:1",
288273
"lib/matplotlib/collections.py:docstring of matplotlib.collections.RegularPolyCollection:1"
289274
],
290-
"matplotlib.dates.rrulewrapper": [
291-
"doc/api/dates_api.rst:12"
292-
],
293275
"matplotlib.image._ImageBase": [
294276
"doc/api/artist_api.rst:190",
295277
"lib/matplotlib/image.py:docstring of matplotlib.image.AxesImage:1",
@@ -540,9 +522,6 @@
540522
"IPython.terminal.pt_inputhooks": [
541523
"doc/users/explain/interactive_guide.rst:422"
542524
],
543-
"dateutil": [
544-
"lib/matplotlib/dates.py:docstring of matplotlib.dates:1"
545-
],
546525
"matplotlib.ft2font": [
547526
"doc/api/prev_api_changes/api_changes_0.91.0.rst:34"
548527
]
@@ -1033,7 +1012,6 @@
10331012
],
10341013
"matplotlib.dates.rrulewrapper": [
10351014
"doc/gallery/ticks/date_formatters_locators.rst:136",
1036-
"lib/matplotlib/dates.py:docstring of matplotlib.dates:143"
10371015
],
10381016
"matplotlib.style.core.STYLE_BLACKLIST": [
10391017
"doc/api/prev_api_changes/api_changes_3.0.0.rst:298",
@@ -1066,9 +1044,6 @@
10661044
"print_xyz": [
10671045
"lib/matplotlib/backends/backend_template.py:docstring of matplotlib.backends.backend_template:22"
10681046
],
1069-
"rrulewrapper": [
1070-
"lib/matplotlib/dates.py:docstring of matplotlib.dates:143"
1071-
],
10721047
"scipy.stats.norm.pdf": [
10731048
"doc/api/prev_api_changes/api_changes_3.1.0.rst:569",
10741049
"doc/api/prev_api_changes/api_changes_3.1.0.rst:655"
@@ -1107,4 +1082,4 @@
11071082
"lib/mpl_toolkits/mplot3d/axes3d.py:docstring of mpl_toolkits.mplot3d.axes3d.Axes3D.get_ylim3d:24"
11081083
]
11091084
}
1110-
}
1085+
}

lib/matplotlib/dates.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
Matplotlib provides sophisticated date plotting capabilities, standing on the
3-
shoulders of python :mod:`datetime` and the add-on module :mod:`dateutil`.
3+
shoulders of python :mod:`datetime` and the add-on module `dateutil`.
44
55
By default, Matplotlib uses the units machinery described in
66
`~matplotlib.units` to convert `datetime.datetime`, and `numpy.datetime64`
@@ -142,10 +142,10 @@
142142
143143
* `YearLocator`: Locate years that are multiples of base.
144144
145-
* `RRuleLocator`: Locate using a `matplotlib.dates.rrulewrapper`.
146-
`.rrulewrapper` is a simple wrapper around dateutil_'s `dateutil.rrule` which
147-
allow almost arbitrary date tick specifications. See :doc:`rrule example
148-
</gallery/ticks/date_demo_rrule>`.
145+
* `RRuleLocator`: Locate using a ``matplotlib.dates.rrulewrapper``.
146+
``rrulewrapper`` is a simple wrapper around dateutil_'s `dateutil.rrule`
147+
which allow almost arbitrary date tick specifications.
148+
See :doc:`rrule example </gallery/ticks/date_demo_rrule>`.
149149
150150
* `AutoDateLocator`: On autoscale, this class picks the best `DateLocator`
151151
(e.g., `RRuleLocator`) to set the view limits and the tick locations. If

lib/matplotlib/ticker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1594,7 +1594,7 @@ def tick_values(self, vmin, vmax):
15941594
15951595
.. note::
15961596
To get tick locations with the vmin and vmax values defined
1597-
automatically for the associated :attr:`axis` simply call
1597+
automatically for the associated ``axis`` simply call
15981598
the Locator instance::
15991599
16001600
>>> print(type(loc))

0 commit comments

Comments
 (0)