Is it possible to ignore colouring the marker ( line )

I have a dictionary to give color to marker .
Is it possible to ignore color of marker ( note i dont want to filter records )

e.g a dictionary as




my sole objective to get attention of all other colors with non zero values …

What do you mean by “nocolor”? If you don’t want it to be visible, you could use a RGB string like 'rgba(0,0,0,0)' to hide the marker.


import plotly.graph_objects as go

trace = go.Scatter(x=[1,2,3], y=[1,2,3], marker={'color': ['rgba(0,0,0,0)', 'red', 'green'], 'size': 10})
fig = go.Figure(data=trace)

which produces:

1 Like

my idea is to use it like a switch on graphs ; which may become visble in next interval callback or on some condition .
Your suggestion might help (will try that )