10000 Document that colorbar() takes a label kwarg. by anntzer · Pull Request #16048 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Document that colorbar() takes a label kwarg. #16048

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 31, 2019
Merged
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
5 changes: 3 additions & 2 deletions lib/matplotlib/colorbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@
An alternative `~.ticker.Formatter` may be given instead.
*drawedges* bool
Whether to draw lines at color boundaries.
*label* str
The label on the colorbar's long axis.
============ ====================================================

The following will probably be useful only in the context of
Expand Down Expand Up @@ -177,8 +179,7 @@
Returns
-------
colorbar : `~matplotlib.colorbar.Colorbar`
See also its base class, `~matplotlib.colorbar.ColorbarBase`. Use
`~.ColorbarBase.set_label` to label the colorbar.
See also its base class, `~matplotlib.colorbar.ColorbarBase`.

Notes
-----
Expand Down
0