Revision: 7633
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7633&view=rev
Author:   leejjoon
Date:     2009-09-04 03:35:25 +0000 (Fri, 04 Sep 2009)

Log Message:
-----------
fix a bug in axes_grid.inset_locator.inset_axes

Modified Paths:
--------------
    branches/v0_99_maint/lib/mpl_toolkits/axes_grid/inset_locator.py

Modified: branches/v0_99_maint/lib/mpl_toolkits/axes_grid/inset_locator.py
===================================================================
--- branches/v0_99_maint/lib/mpl_toolkits/axes_grid/inset_locator.py    
2009-09-03 16:01:00 UTC (rev 7632)
+++ branches/v0_99_maint/lib/mpl_toolkits/axes_grid/inset_locator.py    
2009-09-04 03:35:25 UTC (rev 7633)
@@ -271,10 +271,10 @@
       axes_class = Axes
 
    if axes_kwargs is None:
-      inset_axes = Axes(parent_axes.figure, parent_axes.get_position())
+      inset_axes = axes_class(parent_axes.figure, parent_axes.get_position())
    else:
-      inset_axes = Axes(parent_axes.figure, parent_axes.get_position(),
-                        **axes_kwargs)
+      inset_axes = axes_class(parent_axes.figure, parent_axes.get_position(),
+                              **axes_kwargs)
 
    axes_locator = AnchoredSizeLocator(parent_axes.bbox,
                                       width, height,


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to