From the course: More Python Tips, Tricks, and Techniques for Data Science

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

General plotting tips

General plotting tips - Python Tutorial

From the course: More Python Tips, Tricks, and Techniques for Data Science

Start my 1-month free trial

General plotting tips

- [Instructor] A crucial part of data science is data visualization, which makes it all worthwhile by plotting useful insights on different charts and in different formats. We're going to look at the Matplotlib library, which is a multi-platform data visualization tool built on NumPy. It's one of the most common visualization tools out there. And the reason why Matplotlib has become so common is its strength as a well-tested cross-platform graphics engine. In this video, we're going to discuss a few general tips for using Matplotlib on how to set different stylesheets for plotting. What are the methods to display plots in different contexts? Like in a script, IPython shell, or IPython Notebook? And lastly, we're going to look at how we can save a figure to a file. So let's first look at the important conventions for Matplotlib. So generally, we import Matplotlib as MPL, but most often you'll find yourself using the…

Contents