|
From: <jd...@us...> - 2007-09-05 15:21:13
|
Revision: 3786
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=3786&view=rev
Author: jdh2358
Date: 2007-09-05 08:21:08 -0700 (Wed, 05 Sep 2007)
Log Message:
-----------
fixed a load numpification bug
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/mlab.py
trunk/matplotlib/lib/matplotlib/pylab.py
Modified: trunk/matplotlib/lib/matplotlib/mlab.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/mlab.py 2007-09-05 14:46:14 UTC (rev 3785)
+++ trunk/matplotlib/lib/matplotlib/mlab.py 2007-09-05 15:21:08 UTC (rev 3786)
@@ -1253,7 +1253,7 @@
if r==1 or c==1:
X.shape = max(r,c),
if unpack: X.transpose()
- else: return X
+ return X
def csv2rec(fname, comments='#', skiprows=0, checkrows=5, delimiter=',',
converterd=None, names=None, missing=None):
Modified: trunk/matplotlib/lib/matplotlib/pylab.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/pylab.py 2007-09-05 14:46:14 UTC (rev 3785)
+++ trunk/matplotlib/lib/matplotlib/pylab.py 2007-09-05 15:21:08 UTC (rev 3786)
@@ -124,6 +124,7 @@
fliplr - flip the rows of a matrix up/down
flipud - flip the columns of a matrix left/right
linspace - a linear spaced vector of N values from min to max inclusive
+ logspace - a log spaced vector of N values from min to max inclusive
meshgrid - repeat x and y to make regular matrices
ones - an array of ones
rand - an array from the uniform distribution [0,1]
@@ -307,7 +308,7 @@
diagonal_matrix, base_repr, binary_repr, log2, ispower2,\
bivariate_normal, load, save, stineman_interp
-from numpy import meshgrid, linspace
+from numpy import meshgrid, linspace, logspace
"""
problem syms
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|