Minimal code to reproduce the issue:
from matplotlib import pyplot as plt
from IPython import display
display.set_matplotlib_formats("svg")
plt.plot(range(10), range(10))
plt.show() # no output
It took me quite some time to figure out why my plots weren’t showing up because the set_matplotlib_formats
was being called in one of my imported packages. It would be nice if there was some kind of error message or warning that svgs aren’t supported.