Re: [Matplotlib-users] PyQt4 FigureCanvasQTAgg Subclass segfaults with Matplotlib 1.1?

2012-03-13 Thread Keith Hughitt
(which you might want to describe in a little more detail.) Darren On Mon, Mar 12, 2012 at 10:13 AM, Keith Hughitt keith.hugh...@gmail.com wrote: *bump* Anyone else encountering this problem? On Tue, Mar 6, 2012 at 4:06 PM, Keith Hughitt keith.hugh...@gmail.com wrote: Hey all

Re: [Matplotlib-users] PyQt4 FigureCanvasQTAgg Subclass segfaults with Matplotlib 1.1?

2012-03-12 Thread Keith Hughitt
*bump* Anyone else encountering this problem? On Tue, Mar 6, 2012 at 4:06 PM, Keith Hughitt keith.hugh...@gmail.comwrote: Hey all, Anyone know what has changed from Maplotlib 1.0.x to 1.1.x that might cause a PyQt4 application to segfault? Here is the code I'm working on: https

Re: [Matplotlib-users] How to tell savefig() image size in pixels

2012-01-17 Thread Keith Hughitt
I'd also be interested if anyone has a suggestion for how to save a figure such that the pixel dimensions of a subplot (e.g. an image) are set. On Sat, Jan 14, 2012 at 8:57 AM, klo uo klo...@gmail.com wrote: I browsed Google, and found mainly outdated code examples (also on scipy cookbook)

[Matplotlib-users] Setting transparent pixels during overplotting

2011-11-25 Thread Keith Hughitt
Hi, I would like to draw a contour plot on top of an image and such that any values of the countour plot x are made transparent. Here is what I am doing at the moment to handle the overplotting: from matplotlib import pyplot as plt fig = plt.figure() axes = fig.add_subplot(111) contour =

[Matplotlib-users] Creating a new colormap based on a cmap from matplotlib.cm?

2011-10-11 Thread Keith Hughitt
Hi all, Does anyone know of a good way to create a new LinearSegmentedColormap based off an existing one? I have a function which attempts to generate N optimal color map indices for a given data array. In cases where the number of values specified in _segmentdata is the same as N, then I can

Re: [Matplotlib-users] canvas.draw() memory issue? (PyQt4)

2011-09-16 Thread Keith Hughitt
Is it not possible to use imshow() in a Qt application then? -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2___

Re: [Matplotlib-users] canvas.draw() memory issue? (PyQt4)

2011-09-15 Thread Keith Hughitt
Confirmed with: PyQt4 4.8.3 Matplotlib 1.1.0 Not sure what the cause is though. Keith On Fri, Sep 9, 2011 at 6:04 PM, Matt Earnshaw m...@earnshaw.org.uk wrote: Hi all, I am encountering a memory leak type issue when running the following, for example. http://codepad.o rrg/TNuCLT3k

Re: [Matplotlib-users] Best way to cycle through numpy images using scroll?

2011-08-17 Thread Keith Hughitt
I'm also looking into a similar issue, and would be interested to see what approaches others have taken. Has anyone found a good framework-independent solution? Keith On Wed, Aug 10, 2011 at 5:15 PM, David Just just.da...@mayo.edu wrote: I have an array of images stored as an array of numpy