Axes.
set_yticks
Set the y ticks with list of ticks
List of y-axis tick locations
If False sets major ticks, if True sets minor ticks. Default is False.
False
True