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()