Skip to content

Add category module to docs #13006

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 17, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions doc/api/category_api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
***********************
``matplotlib.category``
***********************

.. automodule:: matplotlib.category
:members:
:undoc-members:
:show-inheritance:
1 change: 1 addition & 0 deletions doc/api/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Modules
backend_tools_api.rst
index_backend_api.rst
blocking_input_api.rst
category_api.rst
cbook_api.rst
cm_api.rst
collections_api.rst
Expand Down
8 changes: 4 additions & 4 deletions lib/matplotlib/category.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ def axisinfo(unit, axis):
"""Sets the default axis ticks and labels

Parameters
---------
unit : :class:`.UnitData`
----------
unit : `.UnitData`
object string unit information for value
axis : :class:`~matplotlib.Axis.axis`
axis : `~matplotlib.Axis.axis`
axis for which information is being set

Returns
-------
:class:~matplotlib.units.AxisInfo~
axisinfo : `~matplotlib.units.AxisInfo`
Information to support default tick labeling

.. note: axis is not used
Expand Down