[Matplotlib-users] Memory increasing while plotting in loop

2011-06-15 Thread Alain Pascal Frances
Hi, I have a script that creates and saves figures in a loop. The memory is increasing at each figure and is not released back, rising a Memory error. I used the close() function on the figure object as well as gc.collect(), but no effect. I searched on the net and found a similar problem at h

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

[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