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:
from pylab import * t = gca().transData In [332]: t Out[332]: CompositeGenericTransform(TransformWrapper(BlendedAffine2D( IdentityTransform(),IdentityTransform())), CompositeAffine2D( BboxTransformFrom(TransformedBbox(Bbox(array( [[ 0., 0.], [ 1., 1.]])), TransformWrapper(BlendedAffine2D( IdentityTransform(),IdentityTransform())))), BboxTransformTo(TransformedBbox(Bbox(array([[ 0.125, 0.1 ], [ 0.9 , 0.9 ]])), BboxTransformTo(TransformedBbox(Bbox( array([[ 0., 0.], [ 8., 6.]])), Affine2D(array([[ 80., 0., 0.], [ 0., 80., 0.], [ 0., 0., 1.]])))))))) In [333]: t.xy_tup AttributeError: 'CompositeGenericTransform' object has no attribute 'xy_tup' Has this feature been (re)moved, or am I missing something? Thanking you in advance, Jon Olav ------------------------------------------------------------------------------ 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