cufflinks基于dataframe数据绘制三维散点图(3d scatter plot)
作者:互联网
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
标签:plot,df,iplot,三维,散点图,dataframe,cf,cufflinks 来源: https://blog.csdn.net/zhongkeyuanchongqing/article/details/119302544