I am using Python (3.4) Jupyter Notebook. I tried to plot a histogram with label using the code below.
%matplotlib notebook import matplotlib.pyplot
you need to add a legend. See legend for details.
plt.legend()