当前位置:网站首页>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

边栏推荐
- RPA: Bank digitalization, business process automation "a small step", and loan review efficiency "a big step"
- Leetcode(34)——在排序数组中查找元素的第一个和最后一个位置
- [applet] realize the left and right [sliding] list through the scroll view component
- 转行软件测试,知道这四点就够了!
- js——arguments的使用
- Experience of practical learning of Silicon Valley products
- Zhao Fuquan: to ensure supply in the short term, we should build a safe, efficient and resilient supply chain in the long term
- Jielizhi Bluetooth headset quality control and production skills [chapter]
- plain framework的实际应用和扩展
- Daily three questions 6.30
猜你喜欢

OpenVINO 模型性能评估工具—DL Workbench

Experience of practical learning of Silicon Valley products

建模和影视后期有什么关联?

Zhongang Mining: it has inherent advantages to develop the characteristic chemical industry dominated by fluorine chemical industry

window安装wsl(二)
![Jielizhi, production line assembly link [chapter]](/img/5f/9ea7fd3b93df1fd3ecbfc1b669c831.png)
Jielizhi, production line assembly link [chapter]

神经网络物联网的发展趋势和未来方向

mysql binlog的清理

RPA: Bank digitalization, business process automation "a small step", and loan review efficiency "a big step"

Win 10 mstsc connect RemoteApp
随机推荐
Typescript enumeration
What is the relationship between modeling and later film and television?
Redis~02 缓存:更新数据时如何保证MySQL和Redis中的数据一致性?
MySQL -- convert rownum in Oracle to MySQL
建模和影视后期有什么关联?
Linux基础 —— CentOS7 离线安装 MySQL
The difference between timer and scheduledthreadpoolexecutor
Some thoughts on game performance optimization
认识--Matplotlib
Microservice stability management
内存泄露和内存溢出的区别是什么?
Is it safe to choose mobile phone for stock trading account opening in Shanghai?
SWT / anr problem - SWT causes kernel fuse deadlock
Linux foundation - centos7 offline installation of MySQL
window安装wsl(二)
从第三次技术革命看企业应用三大开发趋势
Openresty load balancing
2022安全员-C证考试题模拟考试题库及模拟考试
Istio、eBPF 和 RSocket Broker:深入研究服务网格
Behind sharing e-commerce: the spirit of CO creation, symbiosis, sharing, CO prosperity and win-win