matplotlib.figure.Figure.set_frameon#

Figure.set_frameon(b)[source]#

Set the figure's background patch visibility, i.e.whether the figure background will be drawn. Equivalent toFigure.patch.set_visible().

Parameters:
bbool