O'Reilly logo

Practical Business Intelligence by Ahmed Sherif

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Alternative plotting libraries with Python

matplotlib is not the only game in town for plotting with Python. There are several other visualization libraries that are very powerful. One of them is seaborn. seaborn is actually based on matplotlib, so it contains similar functionality but makes more visually appealing plots with minimal coding.

Note

To learn more about seaborn, visit the following website:  http://seaborn.pydata.org

Before we can get started with seaborn, we will need to install it using either PyCharm or manually through the command line:

pip install seaborn

Once it is installed we can call the module into our Jupyter Notebook using the following command:

import seaborn as sb 

We can plot a histogram using VacationHours with the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required