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

2010-03-06 Thread David Goldsmith
--- On Sat, 3/6/10, Friedrich Romstedt 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 email as being directly

Re: [Matplotlib-users] Change colorbar orientation once drawn

2010-03-06 Thread Jae-Joon Lee
Try cb.orientation = "horizontal" cb.update_bruteforce(cb.mappable) it seems to work okay. However, note that "update_bruteforce" clears the axes then redraws. So, if you added some artists in the colorbar axes by yourself (although this is not likely), they will be lost. Regards, -JJ

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

2010-03-06 Thread Friedrich Romstedt
2010/3/6 David Goldsmith : > 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 this thread to this

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

2010-03-06 Thread David Goldsmith
--- On Sat, 3/6/10, Friedrich Romstedt 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 clone or > download

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

[Matplotlib-users] Fixing Figure Size

2010-03-06 Thread Bonnie Douglas
hello, I am working in Python with TkAgg. I have several plots that I would like to display on a single figure. The problem is, when I set the figure size to 12in wide, 6in high (which is perfect for my laptop) the plots get scrunched up. If I resize the window in which they're displayed t