Matplotlib Boxplots | Creating Single and Multiple Boxplots in Python

Опубликовано: 21 August 2026
на канале: Andy McDonald
31,160
486

Matplotlib boxplots can be used for a variety of tasks which include: outlier detection, understanding the data range and distribution, and understanding whether the data is skewed. In this video, we take a look at creating basic boxplots with matplotlib, without the need for seaborn or any other high-level libraries.

We also look at creating boxplots of multiple columns with different ranges using a simple Python for loop.

If you haven't already, make sure you subscribe to the channel:    / @andymcdonald42  

If you have enjoyed this video and want to say thanks, feel free to buy me a coffee at the following link: https://buymeacoffee.com/andymcdonaldgeo
----

The notebook for this video can be found on my GitHub repository at: https://github.com/andymcdgeo/Andys_Y...

Libraries used in this video:
pandas: https://pandas.pydata.org
matplotlib: https://matplotlib.org

Books I Recommend:
As an Amazon Associate I earn from qualifying purchases. By buying through any of the links below I will earn commission at no extra cost to you.

PYTHON FOR DATA ANALYSIS: Data Wrangling with Pandas, NumPy, and IPython
UK: https://amzn.to/3HNycJ9
US: https://amzn.to/3DL7qPv

FUNDAMENTALS OF PETROPHYSICS
UK: https://amzn.to/3l1PgSf

PETROPHYSICS: Theory and Practice of Measuring Reservoir Rock and Fluid Transport Properties
UK: https://amzn.to/30UNWZS
US: https://amzn.to/3DNqBbd

WELL LOGGING FOR EARTH SCIENTISTS
UK: https://amzn.to/3FHsbfn
US: https://amzn.to/3CILAuE

GEOLOGICAL INTERPRETATION OF WELL LOGS
UK: https://amzn.to/3l2v2HV
US: https://amzn.to/30UOTkU

-----
Thanks for watching, if you want to connect you can find me at the links below:

  / andymcdonaldgeo  
  / geoandymcd  
  / andymcdonaldgeo  
https://www.andymcdonald.scot/

Sign up to my newsletter at:
https://fabulous-founder-2965.ck.page...

#matplotlib #petrophysics #python #boxplots #welllogs #jupyternotebooks #geoscience