By default jupyter notebook inline plots are displayed as png, e.g.:
import matplotlib.pyplot as plt %matplotlib inline plt.plot()
How can you configure jupyter notebooks to display matplotlib inline plots as svg?
By default jupyter notebook inline plots are displayed as png, e.g.:
import matplotlib.pyplot as plt %matplotlib inline plt.plot()
How can you configure jupyter notebooks to display matplotlib inline plots as svg?
%config InlineBackend.figure_format = 'svg'
does the trick. A minimal example is:
import matplotlib.pyplot as plt %matplotlib inline %config InlineBackend.figure_format = 'svg' plt.plot()