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
If your screen has Retina display, add the following line after %matplotlib inline
(or somewhere else before plotting) in your notebook
%config InlineBackend.figure_format = 'retina'
This will increase the display resolution of your plots within the Jupyter Notebook.
Add this at the beginning of the notebook:
import matplotlib as mpl
mpl.rcParams['figure.dpi'] = 300
That's it !