Skip to content

Commit 73c3dce

Browse files
authored
Merge pull request #12914 from timhoffm/doc-typo
Fix numpydoc formatting
2 parents 1e2fea7 + be276f7 commit 73c3dce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/matplotlib/colorbar.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@
162162
163163
Returns
164164
-------
165-
:class:`~matplotlib.colorbar.Colorbar` instance
166-
See also its base class, `~matplotlib.colorbar.ColorbarBase`. Call the
167-
`~.ColorbarBase.set_label` method to label the colorbar.
165+
colorbar : `~matplotlib.colorbar.Colorbar`
166+
See also its base class, `~matplotlib.colorbar.ColorbarBase`. Use
167+
`~.ColorbarBase.set_label` to label the colorbar.
168168
169169
Notes
170170
-----

0 commit comments

Comments
 (0)