The exception I posted is being thrown by numarray, so it is definitely 
being used.

As I stated, it was thrown while executing one of the examples provided 
with the matplotlib package:

#!/usr/bin/env python
# barchart_demo.py
# a bar plot with errorbars
from pylab import *

N = 5
menMeans = (20, 35, 30, 35, 27)
menStd =   (2, 3, 4, 1, 2)

ind = arange(N)  # the x locations for the groups
width = 0.35       # the width of the bars
p1 = bar(ind, menMeans, width, color='r', yerr=menStd)

womenMeans = (25, 32, 34, 20, 25)
womenStd =   (3, 5, 2, 3, 3)
p2 = bar(ind+width, womenMeans, width, color='y', yerr=womenStd)

ylabel('Scores')
title('Scores by group and gender')
xticks(ind+width, ('G1', 'G2', 'G3', 'G4', 'G5') )

legend( (p1[0], p2[0]), ('Men', 'Women') )

#savefig('barchart_demo')
show()

Thanks,
Suresh

On Thu, 26 Oct 2006, JDH wrote:

>>>>>> "stochashtic" == stochashtic  <[EMAIL PROTECTED]> writes:
>
>    stochashtic> I am brand spanking new to matplotlib and using
>    stochashtic> python for scientific computing (amazing product;
>    stochashtic> can't believe I didn't know about it before.)  and
>    stochashtic> would appreciate some help in getting started.  I
>    stochashtic> apologise if it's something basic (couldn't find
>    stochashtic> anything on google).
>
>    stochashtic> python 2.4.3 matplotlib 0.87.4 numarray-1.5.2
>    stochashtic> (Mandriva 2007 x64-64)
>
> If you are using numarray, make sure your numerix setting in
> matplotlibrc is
>
> numerix : numarray
>
> See http://matplotlib.sf.net/matplotlibrc
>
> You can check your numerix setting by passing the --verbose-helpful
> flag at the command line.  You can also force numarray by passing
> --numarray.
>
> Eg
>
>> python myscript.py --verbose-helpful --numarray
>
> if this doesn't work, please post a complete example
>
> JDH
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to