On Sat, 24 Nov 2007, Angus McMorland wrote:
> Great. Hopefully this correction will make things even more clear.
While the functions and equations are now clear, I get an error that was
present in matplotlib-0.87, but which should be fixed in -0.90.1:
Traceback (most recent call last):
File "normal-curve.py", line 19, in ?
G = gauss1d(x, fwhm, center)
File "normal-curve.py", line 16, in gauss1d
return exp(-(r-center)**2 / fwhm2k(fwhm)**2)
TypeError: only length-1 arrays can be converted to Python scalars
According to /usr/lib/python2.4/site-packages/numpy/version.py, the
installed version is 1.0b5.
Do I have a version incompatibility here?
Rich
--
Richard B. Shepard, Ph.D. | Integrity Credibility
Applied Ecosystem Services, Inc. | Innovation
<http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users