Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Possible to *static* add trace in Plotly?

I am curious if Plotly can allow for a trace to be added to a plot - but for that trace not to be interactive itself? Something of the form:

Plotly.addTraces(el.id, Traces);

Will usually add the Traces object to the element (overall plot). However, these overlaid Traces will usually have some hovering information. I would like the Traces to not be interactive with the user at all. Thank you for sharing any knowledge.

Try settting hoverinfo: 'none' to those traces in Traces.

1 Like