matplotlib.axis
matplotlib.axis.Axis.clear
Axis.
clear
Clear the axis.
This resets axis properties to their default values: