Answers for "set dpi matplotlib"

5

save matplotlib figure

plt.savefig('image.png')
Posted by: Guest on July-22-2020
0

matplotlib plot dpi

plt.rcParams['figure.dpi'] = 300
plt.rcParams['savefig.dpi'] = 300
Posted by: Guest on May-31-2021

Python Answers by Framework

Browse Popular Code Answers by Language