Revision: 8383
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8383&view=rev
Author: leejjoon
Date: 2010-06-05 18:32:00 +0000 (Sat, 05 Jun 2010)
Log Message:
-----------
fix type check of axes_class of axes_grid1.Grid
Modified Paths:
--------------
trunk/matplotlib/lib/mpl_toolkits/axes_grid1/axes_grid.py
Modified: trunk/matplotlib/lib/mpl_toolkits/axes_grid1/axes_grid.py
===================================================================
--- trunk/matplotlib/lib/mpl_toolkits/axes_grid1/axes_grid.py 2010-06-05
18:31:52 UTC (rev 8382)
+++ trunk/matplotlib/lib/mpl_toolkits/axes_grid1/axes_grid.py 2010-06-05
18:32:00 UTC (rev 8383)
@@ -219,7 +219,8 @@
axes_class = self._defaultLocatableAxesClass
axes_class_args = {}
else:
- if issubclass(axes_class, maxes.Axes):
+ if (type(axes_class)) == type and \
+ issubclass(axes_class,
self._defaultLocatableAxesClass.Axes):
axes_class_args = {}
else:
axes_class, axes_class_args = axes_class
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
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-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins