The Ultimate Guide to Matplotlib | Python

Published: 12 June 2025
on channel: Data Science For Everyone
449
28

This is the ultimate guide to Matplotlib using an Object Oriented approach. I have covered the following topics in this video:

1. Basics of Matplotlib
2. Line plots
3. Multiple plots in one figure (subplots)
4. Sharing axis labels in subplots
5. Bar plots (stacked and unstacked)
6. Histograms
7. Boxplots
8. Scatter plots
9. Regression line
10. Time series plots
11. Adding legends
12. Adding error bars
13. Adding dual axes
14. Writing simple functions for plotting
15. Annotation on plots with arrows and texts
16. Changing plot styles
17. Control plot dimensions
18. Export high quality plots

Python libraries Used: pandas, numpy, matplotlib

Support me:
BuyMeACoffee: https://buymeacoffee.com/dsfe
Patreon:   / dsfeorg  
Ko-fi: https://ko-fi.com/dsfe

Follow me:
Twitter: https://x.com/dsfeorg
Github: https://github.com/dsfeorg

Chapters:
0:00 Introduction
0:32 Basics
1:44 Line plots
4:42 Multiple plots in one figure (subplots)
6:29 Sharing axis labels in subplots
8:53 Bar plots
10:02 Stacked bar plots
10:42 Adding legends
11:05 Histogram
13:10 Error bars
14:27 Box plots
15:45 Scatter plots
18:54 Regression line
19:44 Time series plots
22:44 Adding dual axes
25:10 Writing simple functions
26:41 Annotation with arrows
28:55 Setting plot styles
29:10 Control plot dimensions
29:25 Export high quality plots


Datasets:
Sales data: https://github.com/dsfeorg/matplotlib...
Penguin data: https://github.com/dsfeorg/matplotlib...
Climate data: https://github.com/dsfeorg/matplotlib...

In-depth videos on:
Linear Regression with statmodels (Python):    • Linear Regression in Python (statsmodels)  
Supervised Learning with scikit-learn (Python) Part I:    • Supervised Learning in Python with scikit-...  
Supervised Learning with scikit-learn (Python) Part II:    • Supervised Learning in Python with scikit-...  

Don’t forget to Like, Share, and Subscribe for more data science content!

#python #dataanalysis #matplotlib


On this page of the site you can watch the video online The Ultimate Guide to Matplotlib | Python with a duration of hours minute second in good quality, which was uploaded by the user Data Science For Everyone 12 June 2025, share the link with friends and acquaintances, this video has already been watched 449 times on youtube and it was liked by 28 viewers. Enjoy your viewing!