Re: [Matplotlib-users] Legend orientation and layout

2006-09-27 Thread Gerardo Rivera
John, Thanks for the information. I might start looking at the code and see if I can make any changes. If I'm successful then I'll submit these as patches. Gerardo > > >No, there isn't, but patches here would be most welcome since this has >come up before > >JDH --

Re: [Matplotlib-users] Legend orientation and layout

2006-09-27 Thread John Hunter
> "Gerardo" == Gerardo Rivera <[EMAIL PROTECTED]> writes: Gerardo> Hi, I'm currently using matplotlib with Plone/Zope to Gerardo> generate some graphics for temperature, wind speed and Gerardo> wind direction based on some data from Lake Tahoe. Gerardo> However, the currently l

Re: [Matplotlib-users] legend orientation

2006-09-26 Thread Lionel Roubeyrie
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'

Re: [Matplotlib-users] legend orientation

2006-09-26 Thread John Hunter
> "Lionel" == Lionel Roubeyrie <[EMAIL PROTECTED]> writes: Lionel> Yes, I have seen my error too late, thanks. But I can't Lionel> get a line in the legend, just markers? I'm not sure what you are trying to do here. How about ax = subplot(111) ax.plot([1,2,3], '-', label='a l

Re: [Matplotlib-users] legend orientation

2006-09-26 Thread Lionel Roubeyrie
Le mardi 26 septembre 2006 14:22, John Hunter a écrit : > Make sure you pass in a list of strings, and not a single string. If > you have just a single string, it interprets it as a list of > characters. > > JDH Yes, I have seen my error too late, thanks. But I can't get a line in the legend, just

Re: [Matplotlib-users] legend orientation

2006-09-26 Thread John Hunter
> "Lionel" == Lionel Roubeyrie <[EMAIL PROTECTED]> writes: Lionel> Hi all, I have some minor problems with legend, but I Lionel> don't find how to figure out: - if the figure contains Lionel> only one plot, the text orientation of the legend is Lionel> vertical. How can I chang