Version 2.2.3
matplotlib

matplotlib.axis.XAxis.reset_ticks

XAxis.reset_ticks()

Re-initialize the major and minor Tick lists.

Each list starts with a single fresh Tick.