Add the line %config InlineBackend.figure_format = 'retina'

In a notebook cell to improve the plot sharpness on screens with retina display. Other screens ignore the option.

Before

Default render backend

After

Retina render backend