Increase DPI of plt.show() July 10, 2023 by Tarik Add this at the beginning of the notebook: import matplotlib as mpl mpl.rcParams['figure.dpi'] = 300 That’s it !