move python code snippets to python folder

This commit is contained in:
2019-06-22 22:50:39 +10:00
parent b76f2e25bd
commit 2c8848211b
13 changed files with 0 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import matplotlib.pyplot as plt
import numpy as np
rng = np.random.RandomState(0)
for marker in ["o", ".", ",", "x", "+", "v", "^", "<", ">", "s", "d"]:
plt.plot(rng.rand(5), rng.rand(5), marker, label="marker='{0}'".format(marker))
plt.legend(numpoints=1)
plt.xlim(0, 2)
plt.show()