>>>>> "Asheesh" == Asheesh Laroia <[EMAIL PROTECTED]> writes: Asheesh> How do I show the *values* of the bars? I'm sorry if I'm Asheesh> not using the right terminology. Thanks all!
You need to create text instances at the places you want the bar labels -- something like from pylab import figure, nx, show width = 0.5 xs = nx.arange(7) ys = nx.mlab.randn(7)+5 fig = figure() ax = fig.add_subplot(111) ax.bar(xs, ys, width=width) for x,y in zip(xs, ys): ax.text(x+width/2., y, '%1.1f'%y, va='bottom', ha='center') show() ------------------------------------------------------------------------- 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