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

Skip to content

Commit cbf15b2

Browse files
authored
Merge pull request #12937 from timhoffm/auto-backport-of-pr-12914-on-v3.0.x
Backport PR #12914 on branch 3.0.x: Fix numpydoc formatting
2 parents 8a7256f + adde5e2 commit cbf15b2

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)