Program: it is the code on plotly web[get started]
import plotly.plotly as py
from plotly.graph_objs import *
trace0 = Scatter(
x=[1, 2, 3, 4],
y=[10, 15, 13, 17]
)
trace1 = Scatter(
x=[1, 2, 3, 4],
y=[16, 5, 11, 9]
)
data = Data([trace0, trace1])
py.iplot(data, filename = ‘basic-line’)
Traceback (most recent call last):
。。。。。。
。。。。。。
File “C:\Users\User\Anaconda3\lib\site-packages\plotly\api\v1\clientresp.py”, line 35, in clientresp
response = request(‘post’, url, data=payload)
File “C:\Users\User\Anaconda3\lib\site-packages\plotly\api\v1\utils.py”, line 85, in request
raise exceptions.PlotlyRequestError(message, status_code, content)
PlotlyRequestError: No message
i don’t know why
on my laptop, the program can work, but on my PC, the error will happen, it seems the PC can’t connect with the sever of plotly and can’t generate the graph.
Please help me!!!
anyone is okay!!!
how to deal with the problem. elites in this field , i need your help.