How to fix blurry PyPlot plots in hidpi machine in jupyter

In a hidpi machine, the inline plots of jupyter via PyPlot.jl are blurry.

Previously, I usually use the PyPlot.svg(true) option. However, this will slow down the browser considerably if the plot is really large.

I noticed in a jupyter python session, one can do %config InlineBackend.figure_format = 'retina' to fix this issue. However, since %config is not supported by IJulia, how can I set the figure_format option?