answered 12 years ago
When you use savefig, set the option dpi to give the resolution in dots per inch.
savefig
dpi
See the documentation for savefig at:
http://matplotlib.org/api/figure_api.html