Skip to content

Commit a4dbe0d

Browse files
authored
Merge pull request #21823 from Carreau/misc-rst
DOC: Misc rst syntax fixes
2 parents 11243a9 + 09bd20b commit a4dbe0d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

lib/matplotlib/_api/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
This documentation is only relevant for Matplotlib developers, not for users.
55
6-
.. warning:
6+
.. warning::
77
88
This module and its submodules are for internal use only. Do not use them
99
in your own code. We may change the API at any time with no warning.

lib/matplotlib/_api/deprecation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
This documentation is only relevant for Matplotlib developers, not for users.
55
6-
.. warning:
6+
.. warning::
77
88
This module is for internal use only. Do not use it in your own code.
99
We may change the API at any time with no warning.

lib/matplotlib/category.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,13 @@ def axisinfo(unit, axis):
8080
axis : `~matplotlib.axis.Axis`
8181
axis for which information is being set
8282
83+
.. note:: *axis* is not used
84+
8385
Returns
8486
-------
8587
`~matplotlib.units.AxisInfo`
8688
Information to support default tick labeling
8789
88-
.. note: axis is not used
8990
"""
9091
StrCategoryConverter._validate_unit(unit)
9192
# locator and formatter take mapping dict because

0 commit comments

Comments
 (0)