I can't figure out sourceforge's interface to submit a ticket, so I'm
mailing this to the devel list. That'll give you a sense of my urgency ;-
)
Subject: Axes Ylims are reversed
Version: 0.98.3
when calling get_xlims(), the values returned are in increasing order:
[xmin, xmax]. With get_ylims() however, it is reversed.
# make axes in figure, named ax
ax.get_xlims()
>> [-5, 639]
ax.get_ylims()
>> [479.5, -0.5]
ax.set_ylims(ymin, ymax) seems to work, until you use the Image artist.
The image flips upside down when you do this.
I first noticed it when I called ax.imshow(image) and an image was right
side up. When I called set_ylims(ymin, ymax), it flipped upside down. It
was rightside up if I called set_ylims(ymax, ymin)
Workaround: simply reverse the limits when using set_lims or get_lims
Affected:
Images
Axes
Axes documentation (where get_ylims is described as get_ylims(ymin, ymax)
)
Sorry for not sending this to the right place,
-Conrad Ammon
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel