Revision: 3935
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=3935&view=rev
Author:   mdboom
Date:     2007-10-11 10:03:50 -0700 (Thu, 11 Oct 2007)

Log Message:
-----------
Fixed minor import bug

Modified Paths:
--------------
    trunk/matplotlib/lib/matplotlib/pyplot.py

Modified: trunk/matplotlib/lib/matplotlib/pyplot.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/pyplot.py   2007-10-11 15:42:53 UTC (rev 
3934)
+++ trunk/matplotlib/lib/matplotlib/pyplot.py   2007-10-11 17:03:50 UTC (rev 
3935)
@@ -2,7 +2,7 @@
 
 import matplotlib
 from matplotlib import _pylab_helpers
-from matplotlib.cbook import dedent, silent_list
+from matplotlib.cbook import dedent, silent_list, is_string_like, is_numlike
 from matplotlib.figure import Figure, figaspect
 from matplotlib.backend_bases import FigureCanvasBase
 from matplotlib.image import imread as _imread
@@ -1231,9 +1231,9 @@
 
     def getname_val(identifier):
         'return the name and column data for identifier'
-        if cbook.is_string_like(identifier):
+        if is_string_like(identifier):
             return identifier, r[identifier]
-        elif cbook.is_numlike(identifier):
+        elif is_numlike(identifier):
             name = r.dtype.names[int(identifier)]
             return name, r[name]
         else:


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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to