[Matplotlib-users] imshow output flips on window resize

2007-12-13 Thread John Pye
Hi all I have a problem with 'imshow' under matplotlib 0.90.1-2ubuntu1 on ubuntu 7.10. I have an 'incidence matrix' created using the 'imshow' command, and it works well except for the fact that sometimes when resizing my window, the incidence matrix flips upside-down. Can I control this

[Matplotlib-users] matplotlib RPM on SUSE 10.2?

2007-05-31 Thread John Pye
Hi all Can anyone tell me whether or not it is straightforward to run matplotlib on OpenSUSE 10.2? My project has a dependency on matplotlib and I have a user on that platform who tells me that it's not available as an RPM in the SUSE repository. Can that really be true? Cheers JP -- John

[Matplotlib-users] bug with spy(D)?

2007-03-07 Thread John Pye
, so it really looks like a bug with spy(). And FWIW spy2(M) fails with an error, whereas spy2(D) shows the same bug as spy(D). Is this something that has been fixed in the new 0.90 release? Cheers JP -- John Pye Department of Mechanical and Manufacturing Engineering University of New South

Re: [Matplotlib-users] bug with spy(D)?

2007-03-07 Thread John Pye
/whats_new.html (bit out of date) Cheers JP Eric Firing wrote: John Pye wrote: Hi all I have got some funny behaviour here that looks like a bug with the spy() function. Using the latest python-matplotlib 0.87.5 package on Ubuntu 6.10, I try: $ ipython -pylab from scipy import

Re: [Matplotlib-users] embedded python and matplotlib

2006-07-12 Thread John Pye
Hi Lane, I don't have any answers for you here, but I do wonder if you might gains some insight on this by looking at the way IPython handles its '-pylab' and '-gthread' etc flags? Cheers JP Lane Brooks wrote: So my question is: what is the correct way to setup python and/or matplotlib when

Re: [Matplotlib-users] color bar with non-linear spacing

2006-06-30 Thread John Pye
I think this may be what you need http://matplotlib.sourceforge.net/matplotlib.colors.html#LinearSegmentedColormap As I recall there are some examples floating around somewhere, perhaps on the wiki... Cheers JP James Boyle wrote: I am interested in producing a color map and accompanying

Re: [Matplotlib-users] plotting an array of enumerated values

2006-06-16 Thread John Pye
,colors) print B =,B pylab.figure() pylab.hold() pylab.imshow(B,interpolation='nearest',extent=0.5+nx.array([0,nx.size(A,0),nx.size(A,1),0])) pylab.axes pylab.show() John Pye wrote: Hi all I have some data with enumerated values in an array. Values are like 1,2,7,9 spread