-
Notifications
You must be signed in to change notification settings - Fork 5
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 a contour plot? #265
Comments
So I got an brief idea: And by doing this, we can handle the masked region more easily I guess...? For visualization, we can still probably use |
In which cases do you find contour plots are ugly?
Why do we need to do all the work manually? My plan was to let the rendering library do all the work. |
When adding a label on a certain level, it messes up the contour figures for some reason.
Only when there are not enough data points in the contour plot. |
Would look like:
We could support both filled and non-filled contours with a kwarg?
Note: I am unsure how masks would be handled in such a plot, as unlike with an image, you cannot just make a small area of pixels with a different colormap.
Passing a numpy masked array to matplotlib's
contourf
is handled but often yields ugly results with 'torn' boundaries around masks.Maybe we could just raise if the input data contains masks?
The text was updated successfully, but these errors were encountered: