projects
/
matplotlib-cdsw
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Start implementing plotting from the Harry Potter wikipedia data-set.
[matplotlib-cdsw]
/
001-hello-plot.py
diff --git a/001-hello-plot.py
b/001-hello-plot.py
new file mode 100644
(file)
index 0000000..
ef749ff
--- /dev/null
+++ b/
001-hello-plot.py
@@ -0,0
+1,13
@@
+"""
+
+hello_plot.py
+
+A first plot with matplotlib
+
+"""
+
+import matplotlib.pyplot as plt
+figure = plt.figure()
+axis = figure.add_subplot(111)
+plt.plot([1,2,3], [1,2,3])
+plt.show()
Benjamin Mako Hill
||
Want to submit a patch?