Re: [Matplotlib-users] Drawing a single contour line

2009-11-16 Thread Brendan Arnold
causes problems if only a single contour level is specified and returned. Maybe this is a bug? Kind regards, Brendan On Wed, Nov 4, 2009 at 6:01 PM, Eric Firing wrote: > John Hunter wrote: >> >> On Wed, Nov 4, 2009 at 11:16 AM, Brendan Arnold >> wrote: >>> >

Re: [Matplotlib-users] Drawing a single contour line

2009-11-04 Thread Brendan Arnold
ls) is not documented at http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.contour and in fact the documentation implies that contour(kx, ky, z, [0]) should work when it does not. Perhaps the docs could be updated to reflect this? Brendan On Tue, Nov 3, 2009 at 2:19 PM, Brendan Arn

[Matplotlib-users] Drawing a single contour line

2009-11-02 Thread Brendan Arnold
Hi there, I can draw a single contour line in MATLAB using contour(z, [i i]) however, contour(z, [i, i]) using matplotlib gives an error. In fact any plot that plots a single line (i.e. contour(z, 1)) also gives an error as follows, TypeError: unhashable type: 'numpy.ndarray' How do I draw a

[Matplotlib-users] Blocking flow with a plot until closed

2007-12-09 Thread Brendan Arnold
hi there, i'm writing a linear step by step scripts and i'd like to use matplotlibs interactive features as a step to load up some data, the user to identify a point, the plot window closed and the point to be returned to my script for further processing. i assumed that waiting for pylab.show() t