This answer from a few years ago shows how you can make jupyter notebook create graphs as svg. The solution is to tell the InlineBackend to use svg
as output.
Since apparently even after a bounty period noone was able to provide a solution, a workaround may be the following.
%matplotlib notebook
. Once you're satisfied with the result, save it.Use a copy of it and replace %matplotlib notebook
with
%matplotlib inline
%config InlineBackend.figure_format = 'svg'
Rerun the complete notebook. Save the result.
%matplotlib notebook
.The final result will be a ipynb with svg images. But once opened and run, it will use the notebook backend for figure creation.