Version 2.2.3
matplotlib

matplotlib.axes.Axes.set_axis_off

Axes.set_axis_off()

Turn off the axis.