[Matplotlib-users] plot() hangs up, how to rescue Python?

2008-07-26 Thread Anand Patil
Hi all, I'm using matplotlib with the TKAgg on a remote machine running Ubuntu. Normally when I call 'plot' I see the plot in an X11 window, but I called 'plot' yesterday and Python went unresponsive... it doesn't listen to ctrl-C or anything, and it's been more than 24 hours. I would REALLY like

[Matplotlib-users] Problem plotting interactively from PyCrust

2008-07-26 Thread eliben
Hello, I'm running the latest matplotlib (and wxPython) with Python 2.5.2 on Win XP. Everything works fine, the plotting quality is excellent, and interactive plotting works nicely with IPython. However, I much prefer the PyCrust interactive terminal and use it a lot. I tried following the

Re: [Matplotlib-users] Problem plotting interactively from PyCrust

2008-07-26 Thread John Hunter
On Sat, Jul 26, 2008 at 3:33 AM, eliben [EMAIL PROTECTED] wrote: Hello, I'm running the latest matplotlib (and wxPython) with Python 2.5.2 on Win XP. Everything works fine, the plotting quality is excellent, and interactive plotting works nicely with IPython. However, I much prefer the

[Matplotlib-users] matplotlib colorbar

2008-07-26 Thread Bharathkrishna
By default the colorbar has 0 for black and 1 for white. I was wondering if it is possible to reverse this for it show 0 for white and move upwords to show 1 for black. regards, kbk - This SF.Net email is sponsored by the

Re: [Matplotlib-users] matplotlib colorbar

2008-07-26 Thread Eric Firing
Bharathkrishna wrote: By default the colorbar has 0 for black and 1 for white. I was wondering if it is possible to reverse this for it show 0 for white and move upwords to show 1 for black. regards, kbk It sounds like what you are asking for is a reversed colormap, and all the standard

Re: [Matplotlib-users] Problem plotting interactively from PyCrust

2008-07-26 Thread eliben
John Hunter-4 wrote: On Sat, Jul 26, 2008 at 3:33 AM, eliben [EMAIL PROTECTED] wrote: Hello, I'm running the latest matplotlib (and wxPython) with Python 2.5.2 on Win XP. Everything works fine, the plotting quality is excellent, and interactive plotting works nicely with IPython.

Re: [Matplotlib-users] Problem plotting interactively from PyCrust

2008-07-26 Thread John Hunter
On Sat, Jul 26, 2008 at 12:55 PM, eliben [EMAIL PROTECTED] wrote: Yes, WXAgg works. What is the difference between WXAgg and WX backends ? I couldn't find any real documentation on the subject and I would really like to know. Can WX do something WXAgg can't ? WXAgg is the full featured wx

Re: [Matplotlib-users] matplotlib colorbar

2008-07-26 Thread Bharathkrishna
That works just great. thanks a lot. On Sat, Jul 26, 2008 at 1:49 PM, Eric Firing [EMAIL PROTECTED] wrote: Bharathkrishna wrote: By default the colorbar has 0 for black and 1 for white. I was wondering if it is possible to reverse this for it show 0 for white and move upwords to show 1 for

[Matplotlib-users] Histogram question

2008-07-26 Thread aditya shukla
I am trying to plot a histogram of some values in an array: eg:- input_hist=[0.5,0.5,0.66,0.83,0.92,0.92,0.93,0.97,0.98,0.98,0.98,0.99] after issuing the pylab.hist(input_hist) statement these are the return values that i get. (array([2, 0, 0, 1, 0, 0, 1, 0, 3, 5]), array([ 0.5 , 0.549, 0.598,

Re: [Matplotlib-users] Histogram question

2008-07-26 Thread John Hunter
On Sat, Jul 26, 2008 at 3:47 PM, aditya shukla [EMAIL PROTECTED] wrote: I am trying to plot a histogram of some values in an array: eg:- input_hist=[0.5,0.5,0.66,0.83,0.92,0.92,0.93,0.97,0.98,0.98,0.98,0.99] after issuing the pylab.hist(input_hist) statement these are the return values that i

Re: [Matplotlib-users] plot() hangs up, how to rescue Python?

2008-07-26 Thread Anand Patil
Well, I lost it... whatever was hung up apparently gave up and killed Python when I shut down my local machine. It would still be nice to know how to fix this though, in case it happens again... Thanks, Anand On Sat, Jul 26, 2008 at 12:34 PM, Anand Patil [EMAIL PROTECTED] wrote: Hi all, I'm

Re: [Matplotlib-users] plot() hangs up, how to rescue Python?

2008-07-26 Thread John Hunter
On Sat, Jul 26, 2008 at 5:46 PM, Anand Patil [EMAIL PROTECTED] wrote: Well, I lost it... whatever was hung up apparently gave up and killed Python when I shut down my local machine. It would still be nice to know how to fix this though, in case it happens again... Sorry this happened -- I