Re: [Matplotlib-users] Dynamically adjusting the color scale in NonUniformImage

2012-02-19 Thread Jae-Joon Lee
As far as I can see, this is a bug of matplolib, although calling a set_data work around this. Can you open a bug report in our github repo? -JJ 2012. 2. 18. 오후 10:12에 Ray Osborn rosb...@anl.gov님이 작성: You're exactly right. That does fix it. Unfortunately, it means I have to refactor some of

Re: [Matplotlib-users] Dynamically adjusting the color scale in NonUniformImage

2012-02-19 Thread Ray Osborn
I think you're right. Even if there is a work-around, it can't be right for the colorbar to change without affecting the image. I've filed issue #708. Thanks, Ray On Feb 19, 2012, at 4:37 AM, Jae-Joon Lee wrote: As far as I can see, this is a bug of matplolib, although calling a set_data

Re: [Matplotlib-users] Enjoy all them spammers

2012-02-19 Thread Jerzy Karczmarczuk
I believe that the list owners will have to strenghten some tools to fight against all those shameless spammers. Jerzy Karczmarczuk -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use

Re: [Matplotlib-users] Enjoy all them spammers

2012-02-19 Thread John Hunter
On Sun, Feb 19, 2012 at 10:15 AM, Jerzy Karczmarczuk jerzy.karczmarc...@unicaen.fr wrote: I believe that the list owners will have to strenghten some tools to fight against all those shameless spammers. I wade through about 20 gated messages a day in the mpl administrative interface. 90%

[Matplotlib-users] Ploting a sparse matrix with imshow

2012-02-19 Thread Jose Guzman
Dear matplotlib users, I am trying to plot a nxn symetric matrix containing zeros (in white) and ones (in black). Quite simple, I guessed. For that I use imshow as follows: imshow(W, cmap=cm.binary) # W is a Numpy Array with shape (100,100) However, this does not work the way i would like

Re: [Matplotlib-users] Ploting a sparse matrix with imshow

2012-02-19 Thread Eric Firing
On 02/19/2012 10:18 AM, Jose Guzman wrote: Dear matplotlib users, I am trying to plot a nxn symetric matrix containing zeros (in white) and ones (in black). Quite simple, I guessed. For that I use imshow as follows: imshow(W, cmap=cm.binary) # W is a Numpy Array with shape (100,100)

Re: [Matplotlib-users] Ploting a sparse matrix with imshow

2012-02-19 Thread Jeff Whitaker
On 2/19/12 1:18 PM, Jose Guzman wrote: Dear matplotlib users, I am trying to plot a nxn symetric matrix containing zeros (in white) and ones (in black). Quite simple, I guessed. For that I use imshow as follows: imshow(W, cmap=cm.binary) # W is a Numpy Array with shape (100,100) However,

Re: [Matplotlib-users] Ploting a sparse matrix with imshow

2012-02-19 Thread Jerzy Karczmarczuk
Jeff Whitakert : Jose Guzman: ... imshow(W, cmap=cm.binary) # W is a Numpy Array with shape (100,100) However, this does not work the way i would like (the ones appear very blur). I would need the correct representation of a grid where the possition 0,0 is simply the entry W[0,0] of my

[Matplotlib-users] Script hanging during plot of Runge-Kutta

2012-02-19 Thread surfcast23
Hi I wrote the following script, but it hangs right after plt.show(). I would really appreciate it if someone could take a look and let me know where I'm messing up. Thanks in advance from numpy import * import matplotlib.pyplot as plt #H=p^2/2-cosq #p=dp=-dH/dq #q=dq=dH/dp t = 0 h = 0.5 pfa =

Re: [Matplotlib-users] Script hanging during plot of Runge-Kutta

2012-02-19 Thread Eric Firing
On 02/19/2012 07:08 PM, surfcast23 wrote: Hi I wrote the following script, but it hangs right after plt.show(). I would really appreciate it if someone could take a look and let me know where I'm messing up. Thanks in advance That's what show() does in a script--it displays the plot and

Re: [Matplotlib-users] Script hanging during plot of Runge-Kutta

2012-02-19 Thread Eric Firing
On 02/19/2012 07:46 PM, Khary Richardson wrote: Hi Eric, Ok I guess I have a bigger problem. The plot window opens,but nothing is plotted. I thought that the blank window was because the code was hanging and not plotting. I had it work once and plot, but now I just get the blank window.