How To Make Your Matplotlib Bar Charts Stand Out
1.7 هزار بار بازدید -
11 ماه پیش
-
Bar charts are a commonly
Bar charts are a commonly used data visualisation tool where categorical features are represented by bars of varying lengths/heights. The height or length of the bar corresponds to the value being represented for that category.
Bar charts can easily be created in matplotlib. However, the matplotlib library is often regarded as a library that produces unexciting charts and can be challenging to work with. With perseverance, exploration, and a few extra lines of Python code, we can generate distinctive, aesthetically pleasing and informative figures.
In this video, I show you how you can transform a basic matplotlib bar chart into something that is much more informative and much nicer to look at.
⭐️ If you haven't already, make sure you subscribe to the channel: / @andymcdonald42
▼ --- SUPPORT THE CHANNEL --- ▼
☕️ BUY ME A COFFEE: www.buymeacoffee.com/andymcdonaldgeo
▼ --- DATASET --- ▼
The dataset used for this tutorial is a subset of a training dataset used as part of a Machine Learning competition run by Xeek and FORCE 2020.
Bormann, Peter, Aursand, Peder, Dilib, Fahad, Manral, Surrender, & Dischington, Peter. (2020). FORCE 2020 Well well log and lithofacies dataset for machine learning competition [Data set]. Zenodo. doi.org/10.5281/zenodo.4351156
This dataset is licensed under a Creative Commons Attribution 4.0 International license.
▼ --- RECOMMENDED BOOKS --- ▼
As an Amazon Associate, I earn from qualifying purchases. By buying through any of the links below, I will earn a commission at no extra cost to you.
PYTHON FOR DATA ANALYSIS: Data Wrangling with Pandas, NumPy, and IPython
UK: amzn.to/3HNycJ9
US: amzn.to/3DL7qPv
FUNDAMENTALS OF PETROPHYSICS
UK: amzn.to/3l1PgSf
PETROPHYSICS: Theory and Practice of Measuring Reservoir Rock and Fluid Transport Properties
UK: amzn.to/30UNWZS
US: amzn.to/3DNqBbd
WELL LOGGING FOR EARTH SCIENTISTS
UK: amzn.to/3FHsbfn
US: amzn.to/3CILAuE
GEOLOGICAL INTERPRETATION OF WELL LOGS
UK: amzn.to/3l2v2HV
US: amzn.to/30UOTkU
▼ --- SOCIAL CHANNELS --- ▼
Thanks for watching. If you want to connect, you can find me at the links below:
andymcdonaldgeo.medium.com/
www.linkedin.com/in/andymcdonaldgeo/
www.andymcdonald.scot/
#datascience #petrophysics #python #matplotlib #eda #dataanalytics
11 ماه پیش
در تاریخ 1402/08/03 منتشر شده
است.
1,742
بـار بازدید شده