On 8/3/06, John Hunter <[EMAIL PROTECTED]> wrote:
>>>>> "Gregory" == Gregory Piñero <[EMAIL PROTECTED]> writes: Gregory> bar centers on the y axis p1 = figure.gca().barh(pos,val)
figure.gca().set_yticks(pos)
Gregory> figure.gca().set_yticklabels(('Tom', 'Dick', 'Harry', Gregory> 'Slim', 'Jim')) figure.gca().set_xlabel('Perfomance') Gregory> figure.gca().set_title('How fast do you want to go Gregory> today?') canvas=FigureCanvasAgg(figure) return canvas
I changed the code to above but it still gives a similair result.
test.png
Description: PNG image
------------------------------------------------------------------------- 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