A figure is a figure and an axes is an axes. They are NOT interchangeable. The AxesGrid essentially creates a list of axes.
As you may already know, only figure class has an add_axes method. And axes can only be added to a figure. You cannot add an axes to another axes. Since I have no idea what kind of special plot your code creates, I can only suggest you to revise your code to take an axes instance as an input, not a figure instance. If you can, please post a simple, but complete code that demonstrate your problem. Regards, -JJ ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users