[Matplotlib-users] ginput then show causes segfault

2009-02-21 Thread Daniel Soto
i'd like to plot some data, get user input, and then plot the original data and user input. when i try to show() the data i get a segfault after about ten seconds. any clue what i'm doing wrong? using mac os x 10.5 with enthought distribution. thanks, drs #!/usr/bin/env python import py

[Matplotlib-users] WxMpl 1.3.0 released

2009-02-21 Thread Ken McIvor
I've finally been able to update the WxMpl library so it's compatible with MPL 0.98: http://agni.phys.iit.edu/~kmcivor/wxmpl/downloads/wxmpl-1.3.0.tar.gz It's been tested on Debian Lenny (Python 2.5.2, MPL 0.98.1, wxPython 2.6.3.2) and Mac OS 10.5.5 (MacPython 2.5.4, MPL 0.98.1 and 0.

Re: [Matplotlib-users] Getting contour positions without interacting with figure/axes

2009-02-21 Thread Eric Firing
Thomas Robitaille wrote: > Hello, > > I am using matplotlib to show an image using: > > fig = figure() > ax = fig.add_subplot(111) > ax.imshow(image) > > After doing this, I want to find the contours for a different image > (with different dimensions), but I do not want to interact with the >

[Matplotlib-users] Getting contour positions without interacting with figure/axes

2009-02-21 Thread Thomas Robitaille
Hello, I am using matplotlib to show an image using: fig = figure() ax = fig.add_subplot(111) ax.imshow(image) After doing this, I want to find the contours for a different image (with different dimensions), but I do not want to interact with the current figure or axes, I just want to retriev

[Matplotlib-users] pick the legend? pick a point but not a connecting line?

2009-02-21 Thread C M
Hi, I have two picking questions. First, If I do this inside a pick handler function: def OnPick(self, event): if isinstance(event.artist, Line2D): thisline = event.artist xdata = thisline.get_xdata() ydata = thisline.get_ydata() I can grab the data from