diff options
author | Anne Bonner <35413198+bonn0062@users.noreply.github.com> | 2020-01-21 07:32:42 -0800 |
---|---|---|
committer | Ralf Gommers <ralf.gommers@gmail.com> | 2020-01-21 16:32:42 +0100 |
commit | c3441dfb3fdde09008b19a2998331d3fc2dd0cd1 (patch) | |
tree | 997bfe1940cf5f207c93bf709de7c7f15d4a39a3 /doc/source/user/plots/matplotlib1.py | |
parent | be8f93cbfd5cec2f58bc15a54e602f74bd908ab3 (diff) | |
download | numpy-c3441dfb3fdde09008b19a2998331d3fc2dd0cd1.tar.gz |
DOC: NumPy for absolute beginners tutorial (#14546)
This absolute beginners tutorial is the output of Anne's Google
Season of Docs project. An intermediate version was also published at
https://towardsdatascience.com/the-ultimate-beginners-guide-to-numpy-f5a2f99aef54
Diffstat (limited to 'doc/source/user/plots/matplotlib1.py')
-rw-r--r-- | doc/source/user/plots/matplotlib1.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/source/user/plots/matplotlib1.py b/doc/source/user/plots/matplotlib1.py new file mode 100644 index 000000000..2cbf87ffa --- /dev/null +++ b/doc/source/user/plots/matplotlib1.py @@ -0,0 +1,7 @@ +import matplotlib.pyplot as plt +import numpy as np + +a = np.array([2, 1, 5, 7, 4, 6, 8, 14, 10, 9, 18, 20, 22]) + +plt.plot(a) +plt.show()
\ No newline at end of file |