SourceForge logo
SourceForge logo
Menu

matplotlib-checkins

From: <md...@us...> - 2007年10月11日 17:03:56
Revision: 3935
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=3935&view=rev
Author: mdboom
Date: 2007年10月11日 10:03:50 -0700 (2007年10月11日)
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.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /