Is it possible to put tick labels inside the plotting area? I have already tried:
ax.tick_params(axis="y",pad=-.5, left="off",labelleft="on")
and
ax.tick_params(axis="y",direction="in", left="off",labelleft="on")
The former just moves the axis inward, and the latter only moves the ticks not the tick labels.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…