Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

📚 The CoCalc Library - books, templates and other resources

132923 views
License: OTHER
Kernel: Python 3

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()
Image in a Jupyter notebook
x = np.arange(100) y = np.sin(x) thinkplot.plot(x, y, label='Y') thinkplot.config()
Image in a Jupyter notebook