2010/8/8 Simon Friedberger <simon+matplotlib@...3202...>:
I have found a solution. I'm not sure if it's good or intended but the
for label in xax.get_ticklabels():
This is fully intended. Maybe you can compare with the version
attached, I believe my version should have some minor improvement (the
labels are anchored all with the baseline's leftmost point at the
center of the grid cell). I have not tried your version, though.
You got rid of the +0.4 with your solution I believe?
Also, for the previous pocoo version still online there, I had a
problem with the "superduperverylonglabel". It was shiftet to the
left. What is understandable from the point of view that matplotlib
anchored the labels' center point at x + 0.4.
Please comment. Apart from that it's here for people who look for a
solution to the same question.
Yes, I agree fully, but have been busy the past few days
P.S.: You can also try
, I believe there was some other manual around also covering the
baseline option, but I cannot find it now.
simon.py (2.75 KB)