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 FigureCanvasNbAgg
Bases: FigureCanvasWebAggCore
alias of FigureManagerNbAgg
alias of FigureManagerNbAgg
Bases: FigureManagerWebAgg
alias of NavigationIPy
Clear up any closed Comms.
Create a manager for a given figure using a specific canvas_class.
Backends should override this method if they have specific needs for setting up the canvas or the manager.
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: 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.
© 2012–2023 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/stable/api/backend_nbagg_api.html