Hi,

> i have made bar charts but I was wondering if there is a way to show
> on top of each bar the real content/counts, like a label; I generate
> static plots so the dynamic showing of the counts on focusing on the
> bar does not help me.

Cannot you just add the counts manually? E.g.

x,y = arange(5),randn(5)
bar(x,y, align='center')
for i in range(5):
     text(x[i],y[i],'%f' % y[i], horizontalalignment='center')

Cheers.
-- 
             /  \     ,    ,
   _._     _ |oo| _  / \__/ \
  _||||   ((/ () \))   /  \      Yannick COPIN  (o:>*  Doctus cum libro
  |||||/|  ( ==== )    |oo|      Institut de physique nucleaire de Lyon
   \____/  _`\  /'_    /  \                            (IN2P3 - France)
   /   /.-' /\<>/\ `\.( () )_._  Tel: (33/0) 472 431 968
   |    `  /  \/  \  /`'--'////) http://snovae.in2p3.fr/ycopin/
    \__,-'`|  |.  |\/ |/\/\|"\"` AIM: YcCopin    ICQ: 236931013
       jgs |  |.  | \___/\___/
           |  |.  |   |    |

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to