Revision: 8245
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8245&view=rev
Author: leejjoon
Date: 2010-04-20 16:43:35 +0000 (Tue, 20 Apr 2010)
Log Message:
-----------
fix axes_grid1.Grid that wrongly check isinstance instead of issubclass
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-04-19
21:02:42 UTC (rev 8244)
+++ trunk/matplotlib/lib/mpl_toolkits/axes_grid1/axes_grid.py 2010-04-20
16:43:35 UTC (rev 8245)
@@ -219,7 +219,7 @@
axes_class = self._defaultLocatableAxesClass
axes_class_args = {}
else:
- if isinstance(axes_class, maxes.Axes):
+ if issubclass(axes_class, maxes.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.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins