Secret sauce that brings YouTube followers, views, likes
Get Free YouTube Subscribers, Views and Likes

How To Make Your Matplotlib Bar Charts Stand Out

Follow
Andy McDonald

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: https://www.buymeacoffee.com/andymcdo...

▼ 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. https://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: 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

▼ SOCIAL CHANNELS ▼
Thanks for watching. If you want to connect, you can find me at the links below:

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

#datascience #petrophysics #python #matplotlib #eda #dataanalytics

posted by tensasen7f