Re: [Matplotlib-users] Problem assigning labels in legends

2009-04-30 Thread Jae-Joon Lee
Is there any specific reason that you have to use figlegend, instead of "legend"? I'm asking this because the "legend" command automatically collect all the relevant information for you, i.e., you can just do legend() Of course the legend is displayed inside the axes unlike the figlegend. If yo

[Matplotlib-users] Problem assigning labels in legends

2009-04-30 Thread Andrew Romero
Hi In one part of my script I plot some lines and assign labels to the lines. Later in the script I create a figure legend. How do I get the labels, that I assigned at plot-time, to be used in the legend?  Currently I am manually specifying the legend labels. # Plot some lines ... set values