-
-
Notifications
You must be signed in to change notification settings - Fork 319
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
Curvilinear contourf
#4744
base: master
Are you sure you want to change the base?
Curvilinear contourf
#4744
Conversation
return (polys, colors) | ||
end | ||
|
||
function Makie.plot!(c::Contourf{<:Union{<: Tuple{<:AbstractVector{<:Real}, <:AbstractVector{<:Real}, <:AbstractMatrix{<:Real}}, <: Tuple{<:AbstractMatrix{<:Real}, <:AbstractMatrix{<:Real}, <:AbstractMatrix{<:Real}}}}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does anyone have an idea of how to clean this up? One way would be to go through convert_arguments
and just error there but it's harder to do that for conversion traits.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Specifically I want to accept only (Vector, Vector, Matrix) or (Matrix, Matrix, Matrix) - at least for now
Benchmark ResultsSHA: 47f089c09a15121b09fb334d7a4722313dcd1dc2 Warning These results are subject to substantial noise because GitHub's CI runs on shared machines that are not ideally suited for benchmarking. |
Description
Fixes #796
This PR moves the contourf calculation outside the recipe so it can be dispatched on, and enables curvilinear
contourf
by transforming the output from Isoband using bilinear interpolation on the (x, y) grid.@briochemc if you can make a PR against this branch that would be great!done!Type of change
Delete options that do not apply:
Checklist