[matplotlib-devel] Why are image coordinates rounded to integers?

2009-08-31 Thread Jouni K . Seppänen
Hi, Mike Fitzgerald reported bug #2832896 and has been investigating its causes: https://sourceforge.net/tracker/?func=detail&aid=2832896&group_id=80706&atid=560720 The problem is that images are not drawn at exactly the same coordinates as other artists, so markers drawn on top of images are sl

Re: [matplotlib-devel] Why are image coordinates rounded to integers?

2009-08-31 Thread Michael Droettboom
I think I agree that the rounding is necessary for raster backends, but is in the wrong place -- it should be in the backend itself. It's needed for Agg to prevent "gaps" between the image and axes rectangle. The axes rectangle is always drawn pixel-aligned using "round", so if the image is dr