Is it possible to ignore colouring the marker ( line )

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.

Example:

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)
fig.show()

which produces:

1 Like