Skip to content

Commit adde5e2

Browse files
dstansbytimhoffm
authored andcommitted
Backport PR #12914: Fix numpydoc formatting
1 parent 8a7256f commit adde5e2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lib/matplotlib/colorbar.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,9 @@
166166
167167
Returns
168168
-------
169-
:class:`~matplotlib.colorbar.Colorbar` instance
170-
See also its base class, :class:`~matplotlib.colorbar.ColorbarBase`.
171-
Call the :meth:`~matplotlib.colorbar.ColorbarBase.set_label` method
172-
to label the colorbar.
169+
colorbar : `~matplotlib.colorbar.Colorbar`
170+
See also its base class, `~matplotlib.colorbar.ColorbarBase`. Use
171+
`~.ColorbarBase.set_label` to label the colorbar.
173172
174173
Notes
175174
-----

0 commit comments

Comments
 (0)