imshow inconsistency from version 0.91 to 0.98

"John Hunter" <jdh2358@...287...> writes:

When I run your script with 91.5 (svn branch) vs 98.3 (svn head), I
see that the text labels do not align with the images (PDF only, not
Agg) in 98.3 and not 91.5. Is this the problem you are describing?

It's not exactly alignment, it's that the image (consisting of all the
little color bars) is upside down. The part of the pdf backend that
writes out the images hasn't changed very much between 0.91 and 0.98:
both essentially do

    # get rgba data of image and write it in the output file

If I comment out the flipud_out method calls in 0.98, it works correctly
with this example but gets image_origin.pdf wrong. I'm at a loss to
figure out the difference between and Haibao Tang's
script. Does anyone have a clue?


Jouni K. Sepp�nen