![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据可视化工具
文章平均质量分 63
前行follow
learning sharing and discussing.
展开
-
plotly使用方法
plotly使用方法文档常用的库px的方法import plotly.express as pxpx.histogram(df, x="total_bill", marginal="rug", # can be `box`, `violin` hover_data=df.columns)"""Args: df(DataFrame or array-like or dict):输入数据 x(str or int or Series or ar原创 2021-12-07 19:00:00 · 368 阅读 · 0 评论 -
matplotlib数据可视化
matplotlib数据可视化1. matplotlib简单介绍绘制图像一共有两种方式,一种是面向对象的(显示的),利用Figure,axes,另一个是直接用plot.plt(隐式的)1. 图像的组成Figure,顶层级,用来容纳所有绘图元素Axes,容纳大量元素可以用来构造一幅幅子图(一个figure可以由一个或多个子图组成)Axis,axes的下属层级,用来处理所有和坐标轴,网格有关的元素Tick,axis的下属层级,用来处理所有和刻度有关的元素2.matplot的底层结构1原创 2021-12-07 18:00:00 · 948 阅读 · 0 评论