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

Skip to content

Commit 390f8fb

Browse files
authored
Merge pull request #15704 from anntzer/morebrokenrefs
Fix more broken refs.
2 parents dc5fb0e + 0b8a32c commit 390f8fb

22 files changed

+228
-599
lines changed

doc/api/prev_api_changes/api_changes_3.1.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1153,7 +1153,7 @@ will throw an exception in a future version.
11531153
*verticalalignment* kwargs, and used to ignore them with a warning. This
11541154
behavior is deprecated and will throw an exception in a future version.
11551155

1156-
Passing steps less than 1 or greater than 10 to `~ticker..MaxNLocator` used to
1156+
Passing steps less than 1 or greater than 10 to `~.ticker.MaxNLocator` used to
11571157
result in undefined behavior. It now throws a `ValueError`.
11581158

11591159
The signature of the (private) ``Axis._update_ticks`` has been changed to not

doc/api/prev_api_changes/api_changes_3.1.1.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ Behavior changes
1111
Locator.nonsingular return order
1212
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1313

14-
`Locator.nonsingular` (introduced in mpl 3.1) now returns a range ``v0, v1``
14+
`.Locator.nonsingular` (introduced in mpl 3.1) now returns a range ``v0, v1``
1515
with ``v0 <= v1``. This behavior is consistent with the implementation of
16-
``nonsingular`` by the `LogLocator` and `LogitLocator` subclasses.
16+
``nonsingular`` by the `.LogLocator` and `.LogitLocator` subclasses.

doc/api/prev_api_changes/api_changes_3.2.0/behavior.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ interpolation, leading to aliasing effects for downscaling and non-integer
213213
upscaling.
214214

215215
New default for :rc:`image.interpolation` is the new option "antialiased".
216-
`imshow(A, interpolation='antialiased')` will apply a Hanning filter when
216+
``imshow(A, interpolation='antialiased')`` will apply a Hanning filter when
217217
resampling the data in A for display (or saving to file) *if* the upsample
218218
rate is less than a factor of three, and not an integer; downsampled data is
219219
always smoothed at resampling.
@@ -291,9 +291,9 @@ is now automatically detected.
291291
Exception changes
292292
~~~~~~~~~~~~~~~~~
293293
Various APIs that raised a `ValueError` for incorrectly typed inputs now raise
294-
`TypeError` instead: `backend_bases.GraphicsContextBase.set_clip_path`,
295-
`blocking_input.BlockingInput.__call__`, `cm.register_cmap`, `dviread.DviFont`,
296-
`rcsetup.validate_hatch`, `rcsetup.validate_animation_writer_path`, `spines.Spine`,
294+
`TypeError` instead: `.backend_bases.GraphicsContextBase.set_clip_path`,
295+
`.blocking_input.BlockingInput.__call__`, `.cm.register_cmap`, `.dviread.DviFont`,
296+
`.rcsetup.validate_hatch`, `.rcsetup.validate_animation_writer_path`, `.spines.Spine`,
297297
many classes in the :mod:`matplotlib.transforms` module and :mod:`matplotlib.tri`
298298
package, and Axes methods that take a ``norm`` parameter.
299299

doc/devel/MEP/MEP11.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ When installing from source, a :program:`git` checkout or pip_:
6464
- :file:`setup.py` attempts to ``import numpy``. If this fails, the
6565
installation fails.
6666

67-
- For each of dateutil_, pytz_ and six_, `setup.py` attempts to
67+
- For each of dateutil_, pytz_ and six_, :file:`setup.py` attempts to
6868
import them (from the top-level namespace). If that fails,
6969
matplotlib installs its local copy of the library into the
7070
top-level namespace.

doc/devel/contributing.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ New modules and files: installation
367367

368368
* If you have added new files or directories, or reorganized existing
369369
ones, make sure the new files are included in the match patterns in
370-
:file:`MANIFEST.in`, and/or in `package_data` in `setup.py`.
370+
:file:`MANIFEST.in`, and/or in `package_data` in :file:`setup.py`.
371371

372372
C/C++ extensions
373373
----------------
@@ -378,8 +378,8 @@ C/C++ extensions
378378
address C++, but most of its admonitions still apply).
379379

380380
* Python/C interface code should be kept separate from the core C/C++
381-
code. The interface code should be named `FOO_wrap.cpp` or
382-
`FOO_wrapper.cpp`.
381+
code. The interface code should be named :file:`FOO_wrap.cpp` or
382+
:file:`FOO_wrapper.cpp`.
383383

384384
* Header file documentation (aka docstrings) should be in Numpydoc
385385
format. We don't plan on using automated tools for these
@@ -572,7 +572,7 @@ when the website is built to show up in the `examples
572572

573573
Any sample data that the example uses should be kept small and
574574
distributed with Matplotlib in the
575-
`lib/matplotlib/mpl-data/sample_data/` directory. Then in your
575+
:file:`lib/matplotlib/mpl-data/sample_data/` directory. Then in your
576576
example code you can load it into a file handle with::
577577

578578
import matplotlib.cbook as cbook

0 commit comments

Comments
 (0)