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,y in points. How can I get that to work with the new > transforms? More importantly, can I do it without knowing the dpi?
You should be able to get the dpi -- at least if you are working with an Artist instance, you can access the dpi as a.figure.dpi. With this, you can scale the x and y of the translation to do offsets in dpi. JDH ------------------------------------------------------------------------- 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