8000 Merge pull request #13006 from timhoffm/doc-category · matplotlib/matplotlib@406e453 · GitHub
[go: up one dir, main page]

Skip to content

Commit 406e453

Browse files
authored
Merge pull request #13006 from timhoffm/doc-category
DOC: Add category module to docs
2 parents 11072f2 + bbd66bb commit 406e453

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
@@ -28,6 +28,7 @@ Modules
2828
backend_tools_api.rst
2929
index_backend_api.rst
3030
blocking_input_api.rst
31+
category_api.rst
3132
cbook_api.rst
3233
cm_api.rst
3334
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)
0