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 to Figure.patch.set_visible().

Parameters:
bbool