maybe my question isnāt good .but I thought and couldnāt figure out. here is code (this code is from Scatter tutorial in plotly):
import plotly.graph_objs as go
import plotly.plotly as py
import numpy as np
trace1 = go.Scatter(
y = np.random.randn(500),
mode=āmarkersā,
marker=dict(
size=ā16ā,
color = np.random.randn(500), #set color equal to a variable
colorscale=āViridisā,
showscale=True
)
)
data = [trace1]
py.iplot(data, filename=āscatter-plot-with-colorscaleā)
in here any relationship between color and variables?
we set āshowscale=Trueā and my question is why markers with lowcolor in scale are above axis?
for example yellow markers have 2variables but we see some of them have -1.5 var in scatter,and they are below axis