-
Notifications
You must be signed in to change notification settings - Fork 21
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
Add custom colormap and colorbar ticklabels #72
Comments
If hvPlot can accept it as a parameter, there is no reason xrviz shouldn't allow custom colour maps or labels - but this is not implemented yet. I don't know really how we would be able to squeeze such specific options into the interface; perhaps we could allow for some arguments that are passed through and override whatever is selected in the interface. |
hvplot indeed accepts colormap. Here's an example:
I think I am stuck in between xrviz and a pure hvplot based animation approach because even though I could generate a static hvplot plot, the animation based approach provided by @philippjfr here does not allow me to change ticklabels and varying two dimensions (42 timesteps + 40 z values) is apparently too big to animate. Here is the code and warning I get when I do that:
My notebook crashes after trying too hard to render the animation this way. |
Hi,
I have two questions:
Here's my implementation of an animation using an xarray dataset:
However, when I use the custom cmap
ncarpid
, it is not recognized by xrviz.Here's an example of the dashboard generated from code snippet above:
The text was updated successfully, but these errors were encountered: