show ticks matplotlib code example Example: matplotlib custom ticks axis.set_yticks([0.5,0.6,0.7,0.8,0.9,1.0])