Re: [Matplotlib-users] different behaviour in Windows and Linux

2008-12-02 Thread Gary Ruben
Thanks for the rapid fix Mike. regards, Gary Michael Droettboom wrote: > There is an explicit offset of one pixel on the left when it sets up a > clip box in Agg. I don't know why this is there, but it dates back to > 0.98.0, and earlier versions did something completely different. I can > o

Re: [Matplotlib-users] different behaviour in Windows and Linux

2008-12-02 Thread Michael Droettboom
There is an explicit offset of one pixel on the left when it sets up a clip box in Agg. I don't know why this is there, but it dates back to 0.98.0, and earlier versions did something completely different. I can only guess it was to compensate for an earlier bug in the precise drawing of the

Re: [Matplotlib-users] different behaviour in Windows and Linux

2008-12-02 Thread Gary Ruben
Thanks for verifying this Sünnje. It looks like an Agg bug. I just tried changing to the GTK backend in Linux and the problem disappears. Gary Sunnje L Basedow wrote: > Hi Gary, > I just tested your example, also on Intrepid with 0.98.3, and I get the > exact same behaviour as you, with white pi

Re: [Matplotlib-users] different behaviour in Windows and Linux

2008-12-02 Thread Sunnje L Basedow
-users@lists.sourceforge.net Subject: [Matplotlib-users] different behaviour in Windows and Linux I'm wondering whether someone can reproduce the following problem I'm seeing in Ubuntu Intrepid. I often use matplotlib to save images created with imshow to take advantage of matplotli

Re: [Matplotlib-users] different behaviour in Windows and Linux

2008-12-02 Thread Gary Ruben
I just realised that the example I gave may not be the best since it's not obvious what the autoscaling will do when all array values are equal. Nevertheless, even when the array contains a range of values and I use a greyscale colourmap, I'm seeing the leftmost pixel column set to all white wh

[Matplotlib-users] different behaviour in Windows and Linux

2008-12-02 Thread Gary Ruben
I'm wondering whether someone can reproduce the following problem I'm seeing in Ubuntu Intrepid. I often use matplotlib to save images created with imshow to take advantage of matplotlib's colour maps. I've noticed that the behaviour is different for 0.98.3 between Windows XP-32 and Ubuntu Intr