私はPythonで以下のスクリプトを使用しています:
from plotly.offline import init_notebook_mode, iplot
import plotly.plotly as py
from plotly.graph_objs import *
from plotly.plotly.plotly import image
X=[1,2,3]
Y=[1,2,3]
fig = {'data': [{'x': X, 'y': Y, 'type': 'bar'}]}
#iplot([{"x": X, "y": Y}])
image.ishow(fig, 'png', scale=3)
ubuntu-PC でもipython-notebookを起動しましたが、作成された画像やプロットされたグラフを視覚化できません。iplot ステートメントのコメントを外すと、出力は次のようになります。 そして、raise exceptions.PlotlyError(return_data['error']) KeyError: 'error を返します。using プロットをプロットする方法と、それを確認する方法は?