Re: [matplotlib-devel] bug in Agg backend, positioning of tick labels

2008-01-31 Thread Michael Droettboom
This should now be fixed in SVN r4909. The padding between the axes and the tick labels was not getting updated when the dpi changed. (That's why Rob's workaround worked, because it set the dpi "early enough"). There is still a known dpi bug with custom-shaped scatter plots, but I hope to tac

Re: [matplotlib-devel] bug in Agg backend, positioning of tick labels

2008-01-30 Thread Rob Hetland
I noticed this bug last week (and forgot to send it in until now.. I know.. shame on me..). Here is the workaround (responsible for my laziness): figure(dpi=500) # make a figure savefig(dpi=500) That is, as long as the figure and savefig dpi match, it looks alright. Otherwise, the tick lab

[matplotlib-devel] bug in Agg backend, positioning of tick labels

2008-01-30 Thread Eric Firing
In the course of answering a question by Alan Isaac, I saved some figures at different dpi values and hit a bug with png output: imshow(rand(100,100)) gcf().savefig('f200.png', dpi=200) This results in tick labels that overlap the image, and it gets worse with higher dpi. PS backend output is