plotly 笔记

来源:互联网 发布:51单片机论坛hex 编辑:程序博客网 时间:2024/06/05 01:05
  1. 常用语句
import plotlyprint(plotly.__version__)plotly.offline.init_notebook_mode() # run at the start of every notebook

* initiate the Plotly Notebook*

init_notebook_mode(connected=True)import cufflinks as cfiplot(cf.datagen.lines().iplot(asFigure=True, kind='scatter', xTitle='Dates', yTitle='Returns', title='Returns'))

cf.datagen.lines()可以换成dataframe
All methods in plotly.plotly

help(plotly.offline.iplot)help(plotly.offline.plot)
原创粉丝点击