And yes my numerix is set to numarray as default:

$ python barchart_demo.py --verbose-helpful
...
numerix numarray 1.5.2
...

Thanks,
Suresh



On Thu, 26 Oct 2006, Suresh Pillai wrote:

> 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
>

-------------------------------------------------------------------------
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