Le mardi 26 septembre 2006 16:29, John Hunter a écrit : > I'm not sure what you are trying to do here. How about > > ax = subplot(111) > ax.plot([1,2,3], '-', label='a line') > ax.legend()
I don't know if it's a normal way with mpl, but with your example or with my datas, the legend doesn't have a line beside the text, just the space for it. If I use linestyle='o', the marked is drawn. -- Lionel Roubeyrie - [EMAIL PROTECTED] LIMAIR http://www.limair.asso.fr ------------------------------------------------------------------------- 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