Re: [Matplotlib-users] Legend in a multibars chart

2011-01-06 Thread Jae-Joon Lee
On Thu, Jan 6, 2011 at 12:43 PM, Benjamin Root wrote: > I can confirm the problem, and I have a few suspects as to the cause.  Most > notably that the legend code probably assumes that it is looking for line > objects, not patch objects and starts using its own color cycler when it > can't get a l

Re: [Matplotlib-users] Legend in a multibars chart

2011-01-06 Thread Alain Pascal Frances
nuary, 2011 04:43 To: Alain Pascal Frances Cc: matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users] Legend in a multibars chart On Wed, Jan 5, 2011 at 7:19 AM, Alain Pascal Frances mailto:frances17...@itc.nl>> wrote: Hi, I'm plotting two subplots using bar chart

Re: [Matplotlib-users] Legend in a multibars chart

2011-01-05 Thread Benjamin Root
On Wed, Jan 5, 2011 at 7:19 AM, Alain Pascal Frances wrote: > Hi, > > I'm plotting two subplots using bar charts, the first one contains one > dataset (one bar for each abscissa value), the second 3 dataset (3 bars for > each abscissa value, each one with its own color). The legend of the > multib

[Matplotlib-users] Legend in a multibars chart

2011-01-05 Thread Alain Pascal Frances
Hi, I'm plotting two subplots using bar charts, the first one contains one dataset (one bar for each abscissa value), the second 3 dataset (3 bars for each abscissa value, each one with its own color). The legend of the multibars chart is not correct, it shows the color of the first dataset for