Exportieren Sie hochauflösende .png Matplotlib

plt.savefig('filename.png', dpi=300)
TheRubberDucky