Re: [Matplotlib-users] multiplot in a for loop

2014-03-10 Thread Paul Hobson
Gabriele, I'm confused. I only see 1 series in each subplot. Could you trim your example down into some code that we can copy, paste, and run? A more thorough description of the problem might help too. -p On Mon, Mar 10, 2014 at 9:39 AM, Gabriele Brambilla < gb.gabrielebrambi...@gmail.com> wrote

[Matplotlib-users] Fwd: multiplot in a for loop

2014-03-10 Thread Gabriele Brambilla
No, if you look better near the zero there are some COLOURED lines: you have this impression because the values in EcutS are enormous respect the other one in GAMMAs and Bees. When you plot them all together the other ones disappear... I don't want to plot them all together. Excuse me but it's ver

Re: [Matplotlib-users] multiplot in a for loop

2014-03-10 Thread Paul Hobson
So it sounds like you're not specifying the subplots correctly. I recommend using `fig, axes = plt.subplots(nrows=R, ncols=C)` as a replacement for `fig = plt.figure` and `fig.add_subplot()`. `axes` will be a numpy array of Axes objects through which you'll be able to loop along with your other v

Re: [Matplotlib-users] multiplot in a for loop

2014-03-10 Thread Gabriele Brambilla
And how can I select in which position of the grid of plots put my errorbar plot? like axes[i].errorbar(...)? thanks Gabriele 2014-03-10 13:51 GMT-04:00 Paul Hobson : > So it sounds like you're not specifying the subplots correctly. > > I recommend using `fig, axes = plt.subplots(nrows=R, nco

Re: [Matplotlib-users] multiplot in a for loop

2014-03-10 Thread Joe Kington
On Mar 10, 2014 1:00 PM, "Gabriele Brambilla" < gb.gabrielebrambi...@gmail.com> wrote: > > And how can I select in which position of the grid of plots put my errorbar plot? > > like axes[i].errorbar(...)? Exactly. Except that axes will be a 2d array if you have multiple rows and columns, so it wou

Re: [Matplotlib-users] multiplot in a for loop

2014-03-10 Thread Gabriele Brambilla
thank you guys, it works very well! Gabriele 2014-03-10 14:07 GMT-04:00 Joe Kington : > > On Mar 10, 2014 1:00 PM, "Gabriele Brambilla" < > gb.gabrielebrambi...@gmail.com> wrote: > > > > And how can I select in which position of the grid of plots put my > errorbar plot? > > > > like axes[i].err

[Matplotlib-users] ANN: Bokeh 0.4.2

2014-03-10 Thread Bryan Van de Ven
I am happy to announce the release of Bokeh version 0.4.2! Bokeh is a Python library for visualizing large and realtime datasets on the web. Its goal is to provide elegant, concise construction of novel graphics in the style of Protovis/D3, while delivering high-performance interactivity to th