matplotlib.axes.Axes.set_frame_on Axes.set_frame_on(b) Set whether the Axes rectangle patch is drawn. Parameters: b : bool