From the course: pandas Essential Training

Unlock the full course today

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

Basic plotting

Basic plotting - pandas Tutorial

From the course: pandas Essential Training

Start my 1-month free trial

Basic plotting

- [Teacher] Basic plotting, in this video we will look at basic plotting. Matplotlib tries to make easy things easy and hard things possible, that's what it says on the website. You can generate plots, histograms, bar charts, error charts with just a few lines of code. For simple plotting, the pyplot module provides a MATLAB-like interface. The line "import matplotlib.pyplot" allows you to use the matplotlib.pyplot module using the abbreviation plt. One of the features of the IPython kernel is the ability to display plots that are the output of running code cells. The IPython kernel works seamlessly with the Matplotlib Plotting Library to provide this functionality. To set this up, you must execute that second line, matplotlib inline and that's what's known as a merger command. With the Matplotlib inline backend, the output of the plotting commands is displayed inline, within the Jupiter Notebook, directly below the code cell that produced it. The resulting plots will then also be…

Contents