April 2018
Beginner to intermediate
300 pages
7h 34m
English
Depending on the format, location, and purpose of display, each figure may require a different scale of resolution. Generally, large printed materials, such as posters, would require higher resolution. We can set the resolution by specifying the dot per inch (DPI) value, like this for example:
plt.savefig(dpi=300)
For a 8x12 squared inches figure and output with 300 DPI, there will be (8x300)x(12x300) = 2400x3600 pixels in the image.
Read now
Unlock full access