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

2009-02-22 Thread Thomas Robitaille
Hi Eric, I'm using matplotlib 0.98 (which comes with the Enthought distribution) so that would explain why there was an issue. Thanks for your help! Thomas Eric Firing wrote: > Thomas Robitaille wrote: >> Hi Eric, >> >> Thanks for your help! Unfortunately, ax.set_autoscale_on(False) does >> no

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

2009-02-22 Thread Eric Firing
Thomas Robitaille wrote: > Hi Eric, > > Thanks for your help! Unfortunately, ax.set_autoscale_on(False) does not > work - I had already tried this before unsuccessfully. Consider the > following: > > from pylab import * > import numpy as np > > def test(): > fig = figure() > ax = fig.a

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

2009-02-22 Thread Thomas Robitaille
Hi Eric, Thanks for your help! Unfortunately, ax.set_autoscale_on(False) does not work - I had already tried this before unsuccessfully. Consider the following: from pylab import * import numpy as np def test(): fig = figure() ax = fig.add_subplot(111) a = np.zeros((100

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