cufflinks基于dataframe数据绘制三维散点图(3d scatter plot)
查看df.iplot对应的各种自定义参数,在jupyter notebook中输入如下信息:
df.iplot?
# 三维散点图
from chart_studio import plotly as py
import cufflinks as cf
cf.set_config_file(offline=True, world_readable=True)
df = cf.datagen.scatter3d(2,150)
df.iplot(kind='scatter3d',x='x',y='y',z='z',size=15,categ