On Wed, Jun 9, 2010 at 9:05 AM, Jon Olav Vik <jono...@gmail.com> wrote: > I'm trying to make a big plot with smaller insets. I would like to specify the > new axis rectangle in terms of data coordinates from the original plot. This > page > mentions an .xy_tup() method of Transform objects: > http://www.scipy.org/Cookbook/Matplotlib/Transformations?highlight=%28xy_tup%29 > ...but I cannot seem to find it: >
Yes, that is out of date. Michael Droettboom did a significant refactoring of maplotlib transformations years ago. An up to date tutorial is at http://matplotlib.sourceforge.net/users/transforms_tutorial.html The equivalent call is t.transform((x, y)) JDH ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users