Black Lives Matter. Please consider donating to Black Girls Code today.
Dash Enterprise delivers an incredible 21x cost savings 💸Download the e-book!

Default legend selection

How do we default a selection of specific legend items. For instance if I have a list if ggplot geoms converted to plotly for various years and other cetagories…but I only want the current year trace to be auto selected…how would we code that?

1 Like