matplotlib.figure.Figure.set_canvas

Figure.set_canvas(canvas)[source]

Set the canvas that contains the figure

Parameters:
canvasFigureCanvas

© 2012–2023 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/stable/api/_as_gen/matplotlib.figure.Figure.set_canvas.html