Skip to content

Commit fa3416a

Browse files
committed
Fix cross-references in FAQ.
1 parent 7f6b0b2 commit fa3416a

File tree

2 files changed

+7
-19
lines changed

2 files changed

+7
-19
lines changed

doc/faq/howto_faq.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ converter with the `matplotlib.units` module::
2727
from pandas.tseries import converter as pdtc
2828
pdtc.register()
2929

30-
If you only want to use the `pandas` converter for `datetime64` values ::
30+
If you only want to use the `pandas` converter for `numpy.datetime64` values ::
3131

3232
from pandas.tseries import converter as pdtc
3333
import matplotlib.units as munits
@@ -48,7 +48,7 @@ recursively search the artist for any artists it may contain that meet
4848
some criteria (e.g., match all :class:`~matplotlib.lines.Line2D`
4949
instances or match some arbitrary filter function). For example, the
5050
following snippet finds every object in the figure which has a
51-
`set_color` property and makes the object blue::
51+
``set_color`` property and makes the object blue::
5252

5353
def myfunc(x):
5454
return hasattr(x, 'set_color')
@@ -246,8 +246,8 @@ over so that the tick labels fit in the figure:
246246
Configure the tick widths
247247
-------------------------
248248

249-
Wherever possible, it is recommended to use the :meth:`~Axes.tick_params` or
250-
:meth:`~Axis.set_tick_params` methods to modify tick properties::
249+
Wherever possible, it is recommended to use the :meth:`~.axes.Axes.tick_params`
250+
or :meth:`~.axis.Axis.set_tick_params` methods to modify tick properties::
251251

252252
import matplotlib.pyplot as plt
253253

@@ -648,7 +648,7 @@ In general, the simplest solution when using Matplotlib in a web server is
648648
to completely avoid using pyplot (pyplot maintains references to the opened
649649
figures to make `~.matplotlib.pyplot.show` work, but this will cause memory
650650
leaks unless the figures are properly closed). Since Matplotlib 3.1, one
651-
can directly create figures using the `Figure` constructor and save them to
651+
can directly create figures using the `.Figure` constructor and save them to
652652
in-memory buffers. The following example uses Flask_, but other frameworks
653653
work similarly::
654654

doc/missing-references.json

+2-14
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,6 @@
728728
],
729729
"Figure": [
730730
"doc/devel/testing.rst:161",
731-
"doc/faq/howto_faq.rst:647",
732731
"doc/users/prev_whats_new/whats_new_1.5.rst:22",
733732
"doc/users/prev_whats_new/whats_new_2.2.rst:70",
734733
"lib/matplotlib/backend_managers.py:docstring of matplotlib.backend_managers.ToolManager:21",
@@ -1407,8 +1406,9 @@
14071406
"numpy.datetime64": [
14081407
"doc/faq/howto_faq.rst:18",
14091408
"doc/faq/howto_faq.rst:21",
1409+
"doc/faq/howto_faq.rst:30",
14101410
"doc/gallery/recipes/common_date_problems.rst:34",
1411-
"doc/tutorials/text/text_intro.rst:581",
1411+
"doc/tutorials/text/text_intro.rst:580",
14121412
"doc/users/prev_whats_new/whats_new_2.2.rst:155",
14131413
"lib/matplotlib/dates.py:docstring of matplotlib.dates.date2num:8"
14141414
],
@@ -3199,12 +3199,6 @@
31993199
"doc/devel/testing.rst:50",
32003200
"doc/users/prev_whats_new/whats_new_2.1.0.rst:581"
32013201
],
3202-
"datetime64": [
3203-
"doc/faq/howto_faq.rst:30"
3204-
],
3205-
"set_color": [
3206-
"doc/faq/howto_faq.rst:45"
3207-
],
32083202
"floating_axes.FloatingSubplot": [
32093203
"doc/gallery/axisartist/demo_floating_axes.rst:20"
32103204
],
@@ -4005,12 +3999,6 @@
40053999
"doc/devel/contributing.rst:425",
40064000
"doc/devel/contributing.rst:433"
40074001
],
4008-
"Axes.tick_params": [
4009-
"doc/faq/howto_faq.rst:249"
4010-
],
4011-
"Axis.set_tick_params": [
4012-
"doc/faq/howto_faq.rst:249"
4013-
],
40144002
"matplotlib.patches.Rectangle.contains": [
40154003
"doc/users/event_handling.rst:163"
40164004
],

0 commit comments

Comments
 (0)