By default jupyter notebook inline plots are displayed as png, e.g.:
import matplotlib.pyplot as plt %matplotlib inline plt.plot()
How can
%config InlineBackend.figure_formats = ['svg'] does the trick. A minimal example is:
%config InlineBackend.figure_formats = ['svg']
%config InlineBackend.figure_formats = ['svg'] import matplotlib.pyplot as plt %matplotlib inline plt.plot()