1from matplotlib import pyplot as plt
2plt.plot([0, 1, 2, 3, 4, 5], [0, 1, 4, 9, 16, 25])
3plt.show()
1import matplotlib.pyplot as plt
2import numpy as np
3
4data = np.random.rand(1024,2)
5plt.scatter(data[:,0],data[:,1])
6plt.show()
7// Don't be
8// fooled by this simplicity— plt.scatter() is a rich command.