Skip to content

How to specify colorbar keyword arguments when using quickplot.pcolormesh? #5964

Closed Answered by rcomer
krikru asked this question in Q&A
Discussion options

You must be logged in to vote

The above snippet gives the plot title and the labels for the x- and y-axis, which quickplot also adds automatically (although the x- and y- labels are skipped for maps). The colorbar label is defined here:

if _use_symbol(cube.units):
bar.set_label(cube.units.symbol)
else:
bar.set_label(cube.units)

Replies: 5 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@krikru
Comment options

@trexfeathers
Comment options

@rcomer
Comment options

Answer selected by trexfeathers
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants