import matplotlib.pyplot as plt
x = np.random.randn(100)
y = np.random.randn(100)
plt.figure()
plt.plot(x, y, '.')
plt.savefig('frame0000.png')
Python framework for visualising/animating particles in cartesian space