I'm using the plotly library to perform data analysis. However, I encounter a problem when trying to update the data as per the official documentation. The following error message appears,
Given below is my code.
import plotly.plotly as py
import plotly.graph_objs as go
trace0 = go.Scatter(
x=[3, 4],
y=[2, 1]
)
trace1 = go.Scatter(
x=[3, 4],
y=[3, 2]
)
trace2 = go.Scatter(
x=[3, 4],
y=[4, 3]
)
data = [trace0, trace1, trace2]
plot_url = py.offline.plot(data, filename='extend plot', fileopt='extend')
Any help is appreciated. Thanks.
