Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 406e453

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

File tree

Expand file treeCollapse file tree

3 files changed

+13
-4
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+13
-4
lines changed

‎doc/api/category_api.rst

Copy file name to clipboard
+8Lines 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

Copy file name to clipboardExpand all lines: doc/api/index.rst
+1Lines 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

Copy file name to clipboardExpand all lines: lib/matplotlib/category.py
+4-4Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.