Skip to content

faceted plot uses wrong vmin and vmax #7605

Discussion options

You must be logged in to vote

the max is max_air = 36.950012 while in the facet plot, the vmax is more than 40. why is that ?

That's because the function detects a diverging dataset and thus centers around 0:

vmax = max(abs(min), abs(max))
vmin = -vmax

if that's not what you want, you can disable this using center=False:

t.plot(x="lon", y="lat", col="time", col_wrap=3, center=False)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@WalidGharianiEAGLE
Comment options

Answer selected by WalidGharianiEAGLE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants