Skip to content

Instantly share code, notes, and snippets.

@mamonu
Created June 11, 2015 10:27
Show Gist options
  • Select an option

  • Save mamonu/44806bd937cb09a2d8af to your computer and use it in GitHub Desktop.

Select an option

Save mamonu/44806bd937cb09a2d8af to your computer and use it in GitHub Desktop.
minimal matplotlib demo
import matplotlib.pyplot
import numpy as np
x = np.random.randn(10)
y = np.random.randn(10)
print x,y
matplotlib.pyplot.scatter(x, y)
matplotlib.pyplot.show()
matplotlib.pyplot.savefig('PLTDEMO.png')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment