I\'m using Matplotlib in a Jupyter Notebook to display an image of a map. The code looks like this:
%matplotlib inline imgpath = \'./map.png\' import matplo
Add this at the beginning of the notebook:
import matplotlib as mpl mpl.rcParams['figure.dpi'] = 300
That's it !