Version 3.1.2
matplotlib

matplotlib.axis.Axis.remove_overlapping_locs

Axis.remove_overlapping_locs

If minor ticker locations that overlap with major ticker locations should be trimmed.