Makie how to conditionaly hide a legend entry in `axislegend`
Julia Programming Language
Makie how to conditionaly hide a legend entry in `axislegend`
I have a function that makes the plot on the left: it achieve this via the standard scatter!(xxx; label = "something") infrastructure, after which I call axislegend. I want to use the same plot on the right. On top of it I want to plot other elements with their legend entries. I don’t want to repeat the previous legend entries. I thought doing the conditional scatter!(xxx; label = add_legend ? "something" : "") would solve things. but it doesn't because the legend entry is there. I ask th...
0 comments
No comments yet.