matplotlib.figure.Figure.set_canvas Figure.set_canvas(canvas) Set the canvas that contains the figure Parameters: canvas : FigureCanvas