plotly【インストール】

plot.ly

ぐりぐりいじっていきたいので、まずはインストール。Anaconda環境なので、condaで。

$ conda install plotly

何となく入ったので、いいかと思うんですが、本家をよく見ると以下記載ありました。

$ conda install -c plotly plotly=4.5.2

スライダーを入れてみたかった。

plot.ly

手持ちの環境(Spyder)ではshowされなかったので、最後をhtmlに書き出しに変更。

#fig.show()
fig.write_html('first_figure.html', auto_open=True)

f:id:matsuo_san:20200308173018p:plain

とりあえず、OK。