matplotlib.axis.XAxis.set_ticks

XAxis.set_ticks(ticks, *, minor=False)

Set the locations of the tick marks from sequence ticks

Parameters:

ticks : sequence of floats

minor : bool