summaryrefslogtreecommitdiff
path: root/doc/source/user/plots/matplotlib1.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/user/plots/matplotlib1.py')
-rw-r--r--doc/source/user/plots/matplotlib1.py7
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