I’m creating a plot with ~100 traces and would like to add them all at once, but right now each one requires a data call. Any ideas? Documentation showed the preferred method for adding traces is:
a loop that looks something like this:
plotData = my data…
trace = go.Scatter(x=date_series,y=plotData[0)
dataPanda = [trace]
layout = dict( … )
…
fig = dict(data=dataPanda, layout=layout)
py.iplot(fig, filename=‘My Chart’)
if len(plotData) > 0:
for index, i in enumerate(plotData, start=1):
trace = go.Scatter(x=date_series,y=i)
dataPanda = [trace]
fig = dict(data=dataPanda, layout=layout)
py.iplot(fig, filename='CurrWYAllActive', fileopt='append')
is there a way the py.iplot can take all the traces at once? I tried simply adding the entire list which populates the data but doesn’t make a chart with any of it…