...

/

Data Visualization - Matplotlib Tips

Data Visualization - Matplotlib Tips

General Matplotlib Tips

Before we dive into the details of creating visualizations with Matplotlib, here are a few useful tips about using this package:

1. Importing Matplotlib

Just as we used the np shorthand for NumPy, and pd for Pandas, plt is the standard shorthand for Matplotlib:

import matplotlib.pyplot as plt

Note that Matplotlib is a huge library, so we are only importing the pyplot ...