Re: [matplotlib-devel] Pylab example (gradient_bar.py) only works for png

2008-10-28 Thread Jouni K . Seppänen
> I suspect the fix is as simple as twiddling a single line of code, it's > just not obvious to me how the image flipping is supposed to work to > have consistent behavior across backends -- and I hope another developer > here has a clue... I suspect this is related to the problem described at

Re: [matplotlib-devel] Pylab example (gradient_bar.py) only works for png

2008-10-28 Thread Arnar Flatberg
On Tue, Oct 28, 2008 at 4:20 PM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > There's a bug filed for this. I've looked at it a few times, but I'm not > sure how the image flipping parameters are "supposed" to work. Anyone else > want to have a look at this? > > > https://sourceforge.net/trac

Re: [matplotlib-devel] Pylab example (gradient_bar.py) only works for png

2008-10-28 Thread Michael Droettboom
No problem. I didn't mean to imply that you should have known you bug was a duplicate. I was mainly pointing it out for other developers to keep track of the issue, since I suspect your issue and the one in the bug are the same, but that's probably not obvious to most users. I suspect the fix

Re: [matplotlib-devel] Pylab example (gradient_bar.py) only works for png

2008-10-28 Thread Michael Droettboom
There's a bug filed for this. I've looked at it a few times, but I'm not sure how the image flipping parameters are "supposed" to work. Anyone else want to have a look at this? https://sourceforge.net/tracker2/?func=detail&aid=2160909&group_id=80706&atid=560720 Mike Arnar Flatberg wrote: > H

[matplotlib-devel] Pylab example (gradient_bar.py) only works for png

2008-10-28 Thread Arnar Flatberg
Hi The gradient_bar example flips the bars using svg, pdf and eps backends. Add fig.savefig("gradient_bar.png") fig.savefig("gradient_bar.pdf") fig.savefig("gradient_bar.eps") fig.savefig("gradient_bar.svg") to gradient_bar.py to reproduce. Tested with TkAgg backend (pylab: 1.3.0.dev5867 on pyt