The solution is sufficiently obscure, that I decided to just
re-introduce offset_copy (r5804). It appears to work as before, and the
example works without changes, though let me know if you run into any snags.
Cheers,
Mike
Michael Droettboom wrote:
> I'll update the example. You may also find
I'll update the example. You may also find ScaledTranlation useful for
what you're doing. It will allow you to avoid hardcoding the dpi.
http://matplotlib.sourceforge.net/doc/html/devel/transformations.html#matplotlib.transforms.ScaledTranslation
Cheers,
Mike
Andrew Straw wrote:
> Ryan May wr
Ryan May wrote:
> Hi,
>
> I noticed that offset_copy() went away in the transforms rewrite and was
> replaced with a trans + transfroms.Affine2D().translate(x,y). This
> works fine for x,y in pixels. However, offset_copy would also let you
> specify x,y in points. How can I get that to work
On Sun, Jul 20, 2008 at 3:44 PM, Ryan May <[EMAIL PROTECTED]> wrote:
> I noticed that offset_copy() went away in the transforms rewrite and was
> replaced with a trans + transfroms.Affine2D().translate(x,y). This
> works fine for x,y in pixels. However, offset_copy would also let you
> specify x
Hi,
I noticed that offset_copy() went away in the transforms rewrite and was
replaced with a trans + transfroms.Affine2D().translate(x,y). This
works fine for x,y in pixels. However, offset_copy would also let you
specify x,y in points. How can I get that to work with the new
transforms? Mo