matplotlib.axes.Axes.set_frame_on

Axes.set_frame_on(b)

Set whether the axes rectangle patch is drawn.

Parameters
bbool