December 2015
Beginner to intermediate
202 pages
4h
English
Matplotlib allows a number of different histogram types. In this recipe, you will create a stepped line histogram. This is an exact copy of the previous recipes except for a single argument, hist() - histtype='step'.
matplotlib plots in IPython Notebook, we will use an IPython magic function which starts with %:%matplotlib inline import pandas as pd import numpy as np from pymongo import MongoClient import matplotlib as mpl import matplotlib.pyplot as plt
client = MongoClient('localhost', 27017) ...Read now
Unlock full access