人工智能数据服务Seaborn点图与小提琴图与Seaborn分类散点图与配对图14课件讲解.pptxVIP

  • 0
  • 0
  • 约小于1千字
  • 约 7页
  • 2026-08-28 发布于陕西
  • 举报

人工智能数据服务Seaborn点图与小提琴图与Seaborn分类散点图与配对图14课件讲解.pptx

人工智能数据服务Seaborn点图与小提琴图与Seaborn分类散点图与配对图主讲人:俞明秀现代通信技术专业教学资源库

1.点图

小提琴图能够同时显示数据的分布形状和统计摘要信息。Seaborn中使用violinplot()函数绘制小提琴图。2.小提琴图seaborn.violinplot(*,x=None,y=None,hue=None,data=None,order=None,hue_order=None,bw=scott,cut=2,scale=area,scale_hue=True,gridsize=100,width=0.8,inner=box,split=False,dodge=True,orient=None,linewidth=None,color=None,palette=None,saturation=0.75,ax=None,**kwargs)x,y:指定分类变量和数值变量。hue:用于分组的变量。data:数据集。bw:核密度估计的带宽。scale:小提琴的宽度缩放方式。inner:内部绘制的图形类型(如box、quartile等)。palette:调色板。color:小提琴的颜色。

2.小提琴图importseabornassnsimportmatplotlib.pyplotasplt#加载数据集tips=sns.load_

文档评论(0)

1亿VIP精品文档

相关文档