Selecting line traces

is there a way to let the select tool output the line traces within the selection so i can take them out via the on_selection() method for a scatter graph?

This works fine for me when using markers or lines+markers, but not when doing only lines.
I first made a lines+markers plot with the markers very small, but it seems like it is slower to draw those graphs for larger datasets.

Am I missing something or are there any workarounds?

Thanks in advance,

Hi @dansah,

I think the trace will need to contain markers for scatter events to be active. In terms of improving performance, are you already using the scattergl trace type?


Thanks Jon,
that is consistent with what i have found so far.

Yeah, i am running scattergl - and now it seems to probably be ok. I’ll give it a go again.