Download this file
1 2 3 4
from matplotlib.matlab import * plot([1,2,3,4]) savefig('firstfig', dpi=50) show()