Where is transform.xy_tup?

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=(xy_tup)
...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

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

···

On Wed, Jun 9, 2010 at 9:05 AM, Jon Olav Vik <jonovik@...287...> 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=(xy_tup)
...but I cannot seem to find it: