matplotlib plot dpi
plt.rcParams['figure.dpi'] = 300
plt.rcParams['savefig.dpi'] = 300
Lonely Louse
plt.rcParams['figure.dpi'] = 300
plt.rcParams['savefig.dpi'] = 300