]> projects.mako.cc - matplotlib-cdsw/blob - 001-hello-plot.py
Start implementing plotting from the Harry Potter wikipedia data-set.
[matplotlib-cdsw] / 001-hello-plot.py
1 """ 
2
3 hello_plot.py
4
5 A first plot with matplotlib
6
7 """
8
9 import matplotlib.pyplot as plt 
10 figure = plt.figure()
11 axis = figure.add_subplot(111)
12 plt.plot([1,2,3], [1,2,3])
13 plt.show()

Benjamin Mako Hill || Want to submit a patch?