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

Skip to content

Commit 59e0390

Browse files
tacaswellMeeseeksDev[bot]
authored and
MeeseeksDev[bot]
committed
Backport PR #13006: Add category module to docs
1 parent bbb9425 commit 59e0390

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

doc/api/category_api.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
***********************
2+
``matplotlib.category``
3+
***********************
4+
5+
.. automodule:: matplotlib.category
6+
:members:
7+
:undoc-members:
8+
:show-inheritance:

doc/api/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Modules
2525
axis_api.rst
2626
index_backend_api.rst
2727
blocking_input_api.rst
28+
category_api.rst
2829
cbook_api.rst
2930
cm_api.rst
3031
collections_api.rst

lib/matplotlib/category.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@ def axisinfo(unit, axis):
6363
"""Sets the default axis ticks and labels
6464
6565
Parameters
66-
---------
67-
unit : :class:`.UnitData`
66+
----------
67+
unit : `.UnitData`
6868
object string unit information for value
69-
axis : :class:`~matplotlib.Axis.axis`
69+
axis : `~matplotlib.Axis.axis`
7070
axis for which information is being set
7171
7272
Returns
7373
-------
74-
:class:~matplotlib.units.AxisInfo~
74+
axisinfo : `~matplotlib.units.AxisInfo`
7575
Information to support default tick labeling
7676
7777
.. note: axis is not used

0 commit comments

Comments
 (0)