matplotlib.axis
YAxis.
set_ticklabels
Set the text values of the tick labels.
Text
List of texts for tick labels; must include values for non-visible labels.
If True, set minor ticks instead of major ticks.
Text properties.
For each tick, includes tick.label1 if it is visible, then tick.label2 if it is visible, in that order.
tick.label1
tick.label2