📚 The CoCalc Library - books, templates and other resources
from __future__ import print_function, division %matplotlib inline import numpy as np import matplotlib.pyplot as plt import thinkplot from matplotlib import rc rc('animation', html='html5')
x = np.arange(100) y = np.sin(x) thinkplot.plot(x, y) thinkplot.config()
x = np.arange(100) y = np.sin(x) thinkplot.plot(x, y, label='Y') thinkplot.config()