matplotlib savefig() size control

From the documentation, you can add a dpi argument to set the resolution.

savefig('foo.png', dpi=199)

Leave a Comment