On Thursday 31 January 2008 12:09:03 pm Darren Dale wrote: > I have to report two more issues (sorry I'm reporting, not squashing, I'm > swamped at work.) > > imshow(rand(100,100)) > colorbar() > > The horizontal alignment of the ticklabels is off, they are centered on the > axis rather than being positioned to the right of it. Also, the image > appears to be shifted in the axes, to the left and the top by one pixel.
I looked into this some more this morning, and discovered that this tick behavior also occurs when yaxis.tick_right() is called. xaxis.tick_top() behaves as it should, and the only difference I noticed stepping through a script with the debugger is that at the end of set_ticks position, YAxis does the following, but XAxis does not: for t in ticks: t.update_position(t._loc) I don't know what is this blocks purpose, adding it to YAxis didnt seem to have any effect. Darren ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel