5) Learning Numpy, Pandas, and Matplotlib Lesson

Additional Matplotlib Resources

3 min to complete · By Gilad Gressel
Matplotlib logo

Matplotlib is the most commonly used plotting library in Python. To be honest, I don't love it, it's probably the least friendly of all the tools we have. That is mostly because it has tons of options and a slightly unintuitive API. This stems from the fact that there are literally two different APIs, a stateless "Matlab" style, and an Object-Oriented "python" style. Unfortunately, this distinction is lost on most people (myself included half the time), so we will see lots of mixed-up code. Apologies in advance. The good thing is - you don't have to do that much with Matplotlib, and half the time we can use other tools like Seaborn and Pandas to make things even easier for us.

Good Matplotlib Resources

Here are a few good resources to understand Matplotlib.

  1. Pyplot tutorial (This one is good, but not "optimal" because it doesn't use the OO api).
  2. Matplotlib tutorial (THIS ONE IS GOOD!)
  3. Matplotlib FAQs
Labelled picture of a graph explaining each component
  1. Matplotlib anatomy infographic

Summary: Additional Matplotlib Resources

  • Matplotlib is the most commonly used Python plotting library
  • Matplotlib has many options and can be hard to learn
  • There are two Matplotlib APIs