Change Pyplot Dpi June 9, 2022 by Rajeswari Palanivel change pyplot dpi plt.imshow(img) plt.gcf().set_dpi(300) plt.show() Source: stackoverflow.com