Plots.Controur() allows x,y,z to be Vector{Float64}.
AbstractPlotting.Contour() chokes when I swap out the Plots version for the Makie version.
ERROR: There was no `AbstractPlotting.convert_arguments` overload found for
the plot type Combined{AbstractPlotting.contour,Tuple{Array{Float64,1},Array{Float64,1},Array{Float64,1}}}, or its conversion trait AbstractPlotting.SurfaceLike().
The arguments were:
(Array{Float64,1}, Array{Float64,1}, Array{Float64,1})
To fix this, define `AbstractPlotting.convert_arguments(::Combined{AbstractPlotting.contour,Tuple{Array{Float64,1},Array{Float64,1},Array{Float64,1}}}, ::Array{Float64,1}, ::Array{Float64,1}, ::Array{Float64,1})`.
This would just be a matter of adding a convert method for this case. What isn’t clear to me is what format these vectors are in, and therefore what kind of conversion logic to 2D we would need. Is there a standard for this kind of thing?
I should have said the Plots backend I was using was plotly. I don’t know if that matters. I started to dig around on github, but that has not been fruitful. I’ll see if I can run it through the debugger and figure out how it converts it to a surface.
At least contourf and contour algorithms in their current state need data on a rectilinear grid, so there must be a fool-proof way to convert vectors into that. I’m just wondering what happens if data is missing, duplicated, non-rectilinear, all those edge cases
Anyone know where the contour line labels are hiding for Makie? contour_labels=true does not seem to work like it does in plots and I don’t see it in the attributes list.