JuliaGeometry/Meshes.jl

Label not supported with viz

Open

#551 opened on Aug 7, 2023

 (3 comments) (1 reaction) (0 assignees)Julia (98 forks)auto 404
featurehelp wantedviz

Repository metrics

Stars
 (460 stars)
PR merge metrics
 (PR metrics pending)

Description

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!

Contributor guide