From the course: Data Science Foundations: Python Scientific Stack [CoderPad]

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

Other plotting packages

Other plotting packages

- [Instructor] Matplotlib is the library for plotting in Python, but it's not the only player in town. Matplotlib is old, which means it's working, but it generates static images. Most of the newer plotting libraries, use the browser to get more interactivity. I'm going to share an example with Plotly, and mention some other libraries you might want to have a look at. Plotly is a graphing library that supports several programming languages. Plotly generates interactive plots, for example, you can see here, I can see the tool tips. I can do zooming and panning all within the browser. Let's see an example. I'm going to load the track data, so input pandas as pd, and read csv. Parse the time column and set it to the index. And now I'm going to re-sample the data frame, with a three minute interval with mean and reset the index. And I'm going to show you the first few rows. Right, so we have time as a column again, due to…

Contents