animint2
animint2 copied to clipboard
legend forces showSelected, no way to opt out
Today I created a data viz where I wanted to use color for a geom, so I get a legend and showSelected automatically. I want the legend but I don't want the showSelected, and there is no way to turn it off without hiding the legend.
https://tdhock.github.io/2024-07-10-figure-scatter-qsip/ is the interactive viz
- first plot geom_segment does not have aes(color) and also no showSelected
- second plot geom_segment does have aes(color) but legend is hidden so no showSelected
- third plot geom_segment has aes(color) and there is a legend so it also has showSelected
- would be nice to have a fourth option: aes(color) and there is a legend but no showSelected. (currently impossible I think) how could that be specified in R code?