Revision: 8619
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8619&view=rev
Author: jdh2358
Date: 2010-08-03 21:36:37 +0000 (Tue, 03 Aug 2010)
Log Message:
-----------
use safe isnan for rec2gtk
Modified Paths:
--------------
trunk/matplotlib/lib/mpl_toolkits/gtktools.py
Modified: trunk/matplotlib/lib/mpl_toolkits/gtktools.py
===================================================================
--- trunk/matplotlib/lib/mpl_toolkits/gtktools.py 2010-08-03 21:35:37 UTC
(rev 8618)
+++ trunk/matplotlib/lib/mpl_toolkits/gtktools.py 2010-08-03 21:36:37 UTC
(rev 8619)
@@ -158,7 +158,7 @@
val = model.get_value(thisiter, self.i)
try: val = float(val.strip().rstrip('%'))
except ValueError: pass
- if npy.isnan(val): val = npy.inf # force nan to sort
uniquely
+ if mlab.safe_isnan(val): val = npy.inf # force nan to sort
uniquely
dsu.append((val, rownum))
dsu.sort()
if not self.num%2: dsu.reverse()
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins