摘要: 绘图函数 plt.plot()函数可以通过相应的参数设置绘图风格。 plt.plot(*args, scalex=True, scaley=True, data=None, **kwargs) Docstring: Plot y versus x as lines and/or markers. C 阅读全文
posted @ 2022-01-07 22:19 溪奇的数据 阅读(976) 评论(0) 推荐(0) 编辑
摘要: 图形剖析和构建 Matplotlib的目标对象是用Python对象表示任意图形元素。Figure对象可以看作盛放图形元素的包围盒,其他的Matplotlib对象(Axes、Title、Grid、Spines、XY axis label and tick(Minor and Major)、Line(S 阅读全文
posted @ 2022-01-07 21:51 溪奇的数据 阅读(73) 评论(0) 推荐(0) 编辑
摘要: Matplotlib 是建立在Numpy数组基础上的多平台数据可视化程序库,最重要的特性之一就是具有良好的操作系统兼容性和图形显示底层接口兼容性,并支持几十种图形显示接口与输出格式,功能较完善、跨平台的画图引擎。 官方网站:Matplotlib: Python plotting — Matplotl 阅读全文
posted @ 2022-01-07 21:41 溪奇的数据 阅读(414) 评论(0) 推荐(0) 编辑
摘要: 结构化图形绘制(FacetGrid) 可实现多行多列个性化绘制图形。 sns.FacetGrid( data, row=None, col=None, hue=None, col_wrap=None, sharex=True, sharey=True, height=3, aspect=1, pal 阅读全文
posted @ 2022-01-07 16:42 溪奇的数据 阅读(825) 评论(0) 推荐(0) 编辑
摘要: lineplot() 绘制与时间相关性的线图。 sns.lineplot( x=None, y=None, hue=None, size=None, style=None, data=None, palette=None, hue_order=None, hue_norm=None, sizes=N 阅读全文
posted @ 2022-01-07 16:31 溪奇的数据 阅读(314) 评论(0) 推荐(0) 编辑
摘要: regplot() 绘制两个变量的线性拟合图。 sns.regplot( x, y, data=None, x_estimator=None, x_bins=None, x_ci='ci', scatter=True, fit_reg=True, ci=95, n_boot=1000, units= 阅读全文
posted @ 2022-01-07 15:58 溪奇的数据 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 统计分布图 barplot() sns.barplot( x=None, y=None, hue=None, data=None, order=None, hue_order=None, estimator=<function mean at 0x000001DA64AD3DC8>, ci=95, 阅读全文
posted @ 2022-01-07 13:17 溪奇的数据 阅读(569) 评论(0) 推荐(0) 编辑
摘要: 箱型分布图 boxplot() sns.boxplot( x=None, y=None, hue=None, data=None, order=None, hue_order=None, orient=None, color=None, palette=None, saturation=0.75, 阅读全文
posted @ 2022-01-07 12:50 溪奇的数据 阅读(411) 评论(0) 推荐(0) 编辑
摘要: 散点分布图 综合表示散点图和直方分布图。 Jointplot() 绘制二变量或单变量的图形,底层是JointGrid()。 sns.jointplot( x, y, data=None, kind='scatter', stat_func=None, color=None, height=6, ra 阅读全文
posted @ 2022-01-07 12:38 溪奇的数据 阅读(1305) 评论(0) 推荐(0) 编辑
摘要: 直方图\密度图 直方图和密度图一般用于分布数据的可视化。 distplot 用于绘制单变量的分布图,包括直方图和密度图。 sns.distplot( a, bins=None, hist=True, kde=True, rug=False, fit=None, hist_kws=None, kde_ 阅读全文
posted @ 2022-01-07 11:46 溪奇的数据 阅读(1553) 评论(0) 推荐(0) 编辑
摘要: 调色盘设置 设置调色 color_palette()设置调色盘,返回一个调色盘的颜色列表,默认6种颜色:deep, muted, bright, pastel, dark, colorblind. seaborn.color_palette(palette=None, n_colors=None, 阅读全文
posted @ 2022-01-07 11:15 溪奇的数据 阅读(1157) 评论(0) 推荐(0) 编辑