当前位置:网站首页>Know --matplotlib
Know --matplotlib
2022-07-01 23:23:00 【Cold Lane (* _*)】
Catalog
Matplotlib brief introduction
1.Matplotlib It's a python2D Drawing library , It is often used for data visualization .
2.Matplotlib Very powerful , Only a few lines of code are needed to draw various data visual diagrams .
3.Matplotlib It can not only draw the most basic charts , You can also draw some advanced charts : double y Axis visual data analysis chart , Stacked Columns , Gradient pie chart , Contour histogram .
4.Matplotlib You can also draw 3D Of .
Matplotlib install
pip install matplotlib
Three step drawing
1. introduce pyplot modular
2. Use plot Method
3. Run the program


Be careful ,ro It's red
Common settings for charts
Basic drawing main functions
matplotlib.pyplot.plot(x,y,format_string,**kwargs)
x yes x Axis ,y yes y Axis ,format_string String that controls the format of the curve , Including color 、 Line styles and marker styles *kwargs Key value parameter , It's equivalent to a dictionary Line chart test , have a look

Let's have a fun
Build one first Excel

And then use pandas Access to this Excel data , Then make a line chart

边栏推荐
- 2022 examination questions and online simulation examination for safety management personnel of hazardous chemical business units
- 通过Go语言创建CA与签发证书
- mysql ---- Oracle中的rownum转换成MySQL
- 证券开户选哪个证券公司比较好,哪个更安全
- [micro service sentinel] sentinelresourceaspect details
- Matplotlib常用設置
- 【微服务|Sentinel】SentinelResourceAspect详解
- Redis~02 cache: how to ensure data consistency in MySQL and redis when updating data?
- What is the mosaic tailgate?
- SWT/ANR问题--SWT 导致 low memory killer(LMK)
猜你喜欢

Copy ‘XXXX‘ to effectively final temp variable

Advanced skills of testers: a guide to the application of unit test reports
![[micro service sentinel] sentinel integrates openfeign](/img/8b/46156255fd980eb422c7e05d5af7ee.png)
[micro service sentinel] sentinel integrates openfeign

认识--Matplotlib

plain framework的实际应用和扩展

Wechat personal small store one click opening assistant applet development

AirServer最新Win64位个人版投屏软件

【微服务|Sentinel】sentinel整合openfeign

Experience of practical learning of Silicon Valley products

CKS CKA CKAD 将终端更改为远程桌面
随机推荐
JS - use of arguments
Istio, ebpf and rsocket Broker: in depth study of service grid
What is the relationship between modeling and later film and television?
Win 10 mstsc connect RemoteApp
ShanDong Multi-University Training #3
软件架构的本质
Matplotlib常用图表
mysql ---- Oracle中的rownum转换成MySQL
2022 examination questions and online simulation examination for safety management personnel of hazardous chemical business units
SWT / anr problem - SWT causes low memory killer (LMK)
[MySQL] index creation, viewing and deletion
y53.第三章 Kubernetes从入门到精通 -- ingress(二六)
Rank ranking with MySQL 5.7
共享电商的背后: 共创、共生、共享、共富,共赢的共富精神
The difference between timer and scheduledthreadpoolexecutor
Jerry's burning of upper version materials requires [chapter]
Distance measurement - Hamming distance
What is the difference between memory leak and memory overflow?
微服务服务稳定性治理
Redis数据类型和应用场景