plt.savefig указывает DPI
plt.savefig("sample.jpg", dpi=150)
Intempestive Al Dente
plt.savefig("sample.jpg", dpi=150)