Revision: 5822
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5822&view=rev
Author: jdh2358
Date: 2008-07-23 13:16:28 +0000 (Wed, 23 Jul 2008)
Log Message:
-----------
fixed is_scalar -- good catch david
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/cbook.py
Modified: trunk/matplotlib/lib/matplotlib/cbook.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/cbook.py 2008-07-23 12:34:26 UTC (rev
5821)
+++ trunk/matplotlib/lib/matplotlib/cbook.py 2008-07-23 13:16:28 UTC (rev
5822)
@@ -287,7 +287,7 @@
def is_scalar(obj):
'return true if *obj* is not string like and is not iterable'
- return is_string_like(obj) or not iterable(obj)
+ return not is_string_like(obj) or not iterable(obj)
def is_numlike(obj):
'return true if *obj* looks like a number'
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins