Version 3.0.2
matplotlib

matplotlib.axis.YAxis.reset_ticks

YAxis.reset_ticks()

Re-initialize the major and minor Tick lists.

Each list starts with a single fresh Tick.