我用plotly写的
在spyder执行
import plotly
from plotly.graph_objs import Scatter, Layout
plotly.offline.init_notebook_mode(connected=True)
plotly.offline.iplot({
"data": [Scatter(x=[1, 2, 3, 4], y=[4, 3, 2, 1])],
"layout": Layout(title="hello world")
})
https://imgur.com/a/vZKv9Rd
他没反应
但是我在jupyter notebook做都没有问题
是不是plotly不适合在spyder上运行
谢谢回复 感恩