Re: [Matplotlib-users] Mysterious ValueError: zero-size array...

2010-03-08 Thread David Goldsmith
--- On Fri, 3/5/10, David Goldsmith d_l_goldsm...@yahoo.com wrote: --- On Fri, 3/5/10, Friedrich Romstedt friedrichromst...@gmail.com wrote: NB: You lose at most 3 pixels at the border of your image when drawing it the method you proposed, because the int floor'ing will cause that.

Re: [Matplotlib-users] Mysterious ValueError: zero-size array...

2010-03-06 Thread David Goldsmith
--- On Sat, 3/6/10, Friedrich Romstedt friedrichromst...@gmail.com wrote: Note, that this is private discussion now and no longer on the list (accidentally?).  If you want to put it back on the list, please feel free to do so. Yeah, my email client (yahoo!) showed your example submission

Re: [Matplotlib-users] Mysterious ValueError: zero-size array...

2010-03-06 Thread Friedrich Romstedt
2010/3/6 David Goldsmith d_l_goldsm...@yahoo.com: Yeah, my email client (yahoo!) showed your example submission email as being directly to me, not the list, so I assumed that you were sending it directly to me because you saw that I had cross-posted to the numpy list.  Anyway, I'm returning

Re: [Matplotlib-users] Mysterious ValueError: zero-size array...

2010-03-06 Thread David Goldsmith
--- On Sat, 3/6/10, Friedrich Romstedt friedrichromst...@gmail.com wrote: d1 is a diagram_cl.Diagram instance, holding a Sorry for being dense, but where do I get diagram_cl? All you tried won't work, diagram_cl is not included with matplotlib, and as I think it never will.  Please

Re: [Matplotlib-users] Mysterious ValueError: zero-size array...

2010-03-06 Thread Friedrich Romstedt
David Goldsmith: Ah, ok, not right now (perhaps later): for the purpose of adding your code to the numpy bug ticket, I think it's best if I use something a little more ubiquitous. ;-)  But it looks useful, so I'll probably grab it and try it out myself; is it pure python, i.e., should I be

Re: [Matplotlib-users] Mysterious ValueError: zero-size array...

2010-03-05 Thread David Goldsmith
(Pierre GM: are you subscribed to this list? If so, sorry for cc-ing you.) --- On Fri, 3/5/10, Friedrich Romstedt friedrichromst...@gmail.com wrote: From: Friedrich Romstedt friedrichromst...@gmail.com Subject: Re: [Matplotlib-users] Mysterious ValueError: zero-size array... To: David

Re: [Matplotlib-users] Mysterious ValueError: zero-size array...

2010-03-05 Thread Friedrich Romstedt
2010/3/5 David Goldsmith d_l_goldsm...@yahoo.com: I think it's a bug in numpy.ma._extrema_operations.reduce (at least Pierre GM couldn't explain it away and instructed me to file a bug ticket on it over there, which I did; w/ your permission, I'll add your code to that ticket?) - at the

[Matplotlib-users] Mysterious ValueError: zero-size array...

2010-03-04 Thread David Goldsmith
Hi, folks! Let's see, first the tech stuff: Python version - 2.5.4; matplotlib version - 0.99.0; numpy version - 1.4.0; Platform: 32 bit Windows Vista Home Premium SP2. OK, now for the problem: imshow is (indirectly) raising ValueError: zero-size array to ufunc.reduce without identity.

[Matplotlib-users] Mysterious ValueError: zero-size array...

2010-03-04 Thread David Goldsmith
Hi, folks! Let's see, first the tech stuff: Python version - 2.5.4; matplotlib version - 0.99.0; numpy version - 1.4.0; Platform: 32 bit Windows Vista Home Premium SP2. OK, now for the problem: imshow is (indirectly) raising ValueError: zero-size array to ufunc.reduce without identity.

[Matplotlib-users] Mysterious ValueError: zero-size array...

2010-03-04 Thread David Goldsmith
Hi, folks! Let's see, first the tech stuff: Python version - 2.5.4; matplotlib version - 0.99.0; numpy version - 1.4.0; Platform: 32 bit Windows Vista Home Premium SP2. OK, now for the problem: imshow is (indirectly) raising ValueError: zero-size array to ufunc.reduce without identity.

[Matplotlib-users] Mysterious ValueError: zero-size array...

2010-03-04 Thread David Goldsmith
Hi, folks! Let's see, first the tech stuff: Python version - 2.5.4; matplotlib version - 0.99.0; numpy version - 1.4.0; Platform: 32 bit Windows Vista Home Premium SP2. OK, now for the problem: imshow is (indirectly) raising ValueError: zero-size array to ufunc.reduce without identity.