Meshes.jl
Meshes.jl copied to clipboard
Label not supported with viz
Hello :)
Trying to add a label to geometryobject (polyarea in this cade) isn't supported with the viz function. It results in the following error:
ERROR: `legendelements` returned an empty list for content element of type MakieCore.Combined{Meshes.viz, Tuple{GeometrySet{2, Float64, PolyArea{2, Float64, Ring{2, Float64, CircularArrays.CircularVector{Point2, Vector{Point2}}}}}}}. That could mean that neither this object nor any possible child objects had a method for `legendelements` defined that returned a non-empty result.
I know it isn't supported from the documentation, but it's a seems like a useful feature I'd like to ask for :) Thanks in advance!
Thanks for the feature request @BloodWorkXGaming. If you can find the underlying Makie call in our recipes where this options should be inserted, that will help us speed up the impementation. Feel free to submit a PR as well.
Alright thanks :) will check it out in the next few days, quite low on time currently.
The goal here is to introduce a global label
option to assign labels to elements of the domain.