Interactive figures in the IPython notebook.
Bases: object
Manages the Comm connection between IPython and the browser (client).
Comms are 2 way, with the CommSocket being able to publish a message via the send_json method, and handle a message with on_message. On the JS side figure.send_message and figure.ws.onmessage do the sending and receiving respectively.
alias of matplotlib.backends.backend_nbagg.FigureCanvasNbAgg
Bases: matplotlib.backends.backend_webagg_core.FigureCanvasWebAggCore
alias of matplotlib.backends.backend_nbagg.FigureManagerNbAgg
Bases: matplotlib.backends.backend_webagg_core.FigureManagerWebAgg
Clear up any closed Comms.
A special method to re-show the figure in the notebook.
For GUI backends, show the figure window and redraw. For non-GUI backends, raise an exception, unless running headless (i.e. on Linux with an unset DISPLAY); this exception is converted to a warning in Figure.show.
Bases: matplotlib.backends.backend_webagg_core.NavigationToolbar2WebAgg
Return a string showing the figure and connection status for the backend.
This is intended as a diagnostic tool, and not for general use.
Create a new figure manager instance for the given figure.
Show all figures.
show blocks by calling mainloop if block is True, or if it is None and we are neither in IPython's %pylab mode, nor in interactive mode.
© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.5.1/api/backend_nbagg_api.html