8000 Merge pull request #16054 from meeseeksmachine/auto-backport-of-pr-16… · matplotlib/matplotlib@c831301 · GitHub
[go: up one dir, main page]

Skip to content

Commit c831301

Browse files
authored
Merge pull request #16054 from meeseeksmachine/auto-backport-of-pr-16048-on-v3.2.x
Backport PR #16048 on branch v3.2.x (Document that colorbar() takes a label kwarg.)
2 parents d0f7c04 + 351eaa1 commit c831301

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/matplotlib/colorbar.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@
106106
given instead.
107107
*drawedges* bool
108108
Whether to draw lines at color boundaries.
109+
*label* str
110+
The label on the colorbar's long axis.
109111
============ ====================================================
110112
111113
The following will probably be useful only in the context of
@@ -168,8 +170,7 @@
168170
Returns
169171
-------
170172
colorbar : `~matplotlib.colorbar.Colorbar`
171-
See also its base class, `~matplotlib.colorbar.ColorbarBase`. Use
172-
`~.ColorbarBase.set_label` to label the colorbar.
173+
See also its base class, `~matplotlib.colorbar.ColorbarBase`.
173174
174175
Notes
175176
-----

0 commit comments

Comments
 (0)
0