This documentation is for an old version of IPython. You can find docs for newer versions here.
A matplotlib backend for publishing figures via display_data
Show all figures as SVG/PNG payloads sent to the IPython clients.
close : bool, optional
If true, a
plt.close('all')call is automatically issued after sending all the figures. If this is set, the figures will entirely removed from the internal list of figures.
Is called after every pylab drawing command
Send all figures that changed
This is meant to be called automatically and will call show() if, during prior code execution, there had been any calls to draw_if_interactive.
This function is meant to be used as a post_execute callback in IPython, so user-caused errors are handled with showtraceback() instead of being allowed to raise. If this function is not called from within IPython, then these exceptions will raise.