matplotlib.pyplot.box# matplotlib.pyplot.box(on=None)[source]# Turn the axes box on or off on the current axes. Parameters: onbool or NoneThe new Axes box state. If None, toggle the state. See also matplotlib.axes.Axes.set_frame_on() matplotlib.axes.Axes.get_frame_on()