Possible to Always Show Trace?

Is it possible to display a trace and always show it, even if the user hides things, etc. using the legend? I enjoy the hover, fill=“toself”, etc. functionality of traces but would love to be able to permanently pin them in the view. That is, even as the user toggles things in the legend, these specified traces always display.

The closest I found would be to convert all of my traces to shapes (can I do custom/arbitrary shapes? how can I have text hover over the shape?) and annotations of some sort, but that doesn’t seem ideal. I was hoping some combination of visible and showlegend or something would work, but alas.

Thanks for any advice!

1 Like