Re: [Matplotlib-users] python question from matlab user

2012-09-07 Thread Paul Tremblay
in your jmkfile.py you should have from pylab import * Paul On 9/8/12 12:45 AM, Jody Klymak wrote: Hi All, Sorry to ask a dumb python newbie question, but the problem arose while reading the matplotlib documentation, and an hour or so on the internet didnt' help, so I felt it was fair-

[Matplotlib-users] python question from matlab user

2012-09-07 Thread Jody Klymak
Hi All, Sorry to ask a dumb python newbie question, but the problem arose while reading the matplotlib documentation, and an hour or so on the internet didnt' help, so I felt it was fair-ish game to post here. In http://matplotlib.sourceforge.net/examples/pylab_examples/customize_rc.html it

Re: [Matplotlib-users] Using the lasso tool when file is not main

2012-09-07 Thread Mark Budde
Thanks Ben, that solved my issue. I guess I got thrown off because the plot stayed open, as you described. It's hard to troubleshoot when you don't get any errors. In the future I will attach all of my objects. -Mark On Fri, Sep 7, 2012 at 12:03 PM, Benjamin Root wrote: > I think I see your probl

Re: [Matplotlib-users] Using the lasso tool when file is not main

2012-09-07 Thread Benjamin Root
I think I see your problem... see below: class start_lasso(): def __init__(self): data = [Datum(*xy) for xy in rand(100, 2)] fig = figure() ax = fig.add_subplot(111, xlim=(0,1), ylim=(0,1), autoscale_on=False) lman = LassoManager(ax, data) show() You

Re: [Matplotlib-users] MemoryError with NetCDF

2012-09-07 Thread Ethan Gutmann
On Sep 7, 2012, at 11:04 AM, Eric Firing wrote: > On 2012/09/07 4:00 AM, Benjamin Root wrote: >> >> >> On Fri, Sep 7, 2012 at 9:49 AM, Shahar Shani-Kadmiel >> mailto:kadm...@post.bgu.ac.il>> wrote: >> >>On Sep 7, 2012, at 4:25 PM, Benjamin Root wrote: >> >>> >>> >>>On Fri, Sep 7, 20

Re: [Matplotlib-users] MemoryError with NetCDF

2012-09-07 Thread Eric Firing
On 2012/09/07 4:00 AM, Benjamin Root wrote: > > > On Fri, Sep 7, 2012 at 9:49 AM, Shahar Shani-Kadmiel > mailto:kadm...@post.bgu.ac.il>> wrote: > > On Sep 7, 2012, at 4:25 PM, Benjamin Root wrote: > >> >> >> On Fri, Sep 7, 2012 at 8:44 AM, Shahar Shani-Kadmiel >> mailto:kadm...@post.bgu

Re: [Matplotlib-users] MemoryError with NetCDF

2012-09-07 Thread Shahar Shani-Kadmiel
On Sep 7, 2012, at 5:00 PM, Benjamin Root wrote: > > > On Fri, Sep 7, 2012 at 9:49 AM, Shahar Shani-Kadmiel > wrote: > On Sep 7, 2012, at 4:25 PM, Benjamin Root wrote: > >> >> >> On Fri, Sep 7, 2012 at 8:44 AM, Shahar Shani-Kadmiel >> wrote: >> 1. an ipython session is invoked with qtcon

Re: [Matplotlib-users] MemoryError with NetCDF

2012-09-07 Thread Benjamin Root
On Fri, Sep 7, 2012 at 9:49 AM, Shahar Shani-Kadmiel wrote: > On Sep 7, 2012, at 4:25 PM, Benjamin Root wrote: > > > > On Fri, Sep 7, 2012 at 8:44 AM, Shahar Shani-Kadmiel < > kadm...@post.bgu.ac.il> wrote: > >> 1. an ipython session is invoked with qtconsole --pylab >> 2. I load a large NetCDF g

Re: [Matplotlib-users] MemoryError with NetCDF

2012-09-07 Thread Shahar Shani-Kadmiel
On Sep 7, 2012, at 4:25 PM, Benjamin Root wrote: > > > On Fri, Sep 7, 2012 at 8:44 AM, Shahar Shani-Kadmiel > wrote: > 1. an ipython session is invoked with qtconsole --pylab > 2. I load a large NetCDF grid (Grid file format: nf (# 18) GMT netCDF format > (float) (COARDS-compliant) [DEFAULT]

Re: [Matplotlib-users] MemoryError with NetCDF

2012-09-07 Thread Benjamin Root
On Fri, Sep 7, 2012 at 8:44 AM, Shahar Shani-Kadmiel wrote: > 1. an ipython session is invoked with qtconsole --pylab > 2. I load a large NetCDF grid (Grid file format: nf (# 18) GMT netCDF > format (float) (COARDS-compliant) [DEFAULT]), approx. 1.15 GB > 3. I then try to plot with imshow the da

[Matplotlib-users] MemoryError with NetCDF

2012-09-07 Thread Shahar Shani-Kadmiel
1. an ipython session is invoked with qtconsole --pylab 2. I load a large NetCDF grid (Grid file format: nf (# 18) GMT netCDF format (float) (COARDS-compliant) [DEFAULT]), approx. 1.15 GB 3. I then try to plot with imshow the data added below are the lines leading up to the error and the error

[Matplotlib-users] John Hunter's memorial service

2012-09-07 Thread Fernando Perez
Hi all, I have just received the following information from John's family regarding the memorial service: John's memorial service will be held on Monday, October 1, 2012, at 11.a.m. at Rockefeller Chapel at the University of Chicago. The exact address is 5850 S. Woodlawn Ave, Chicago, IL 60615.

Re: [Matplotlib-users] Rectangle Bug

2012-09-07 Thread Eric Firing
On 2012/09/06 9:03 PM, Phil Elson wrote: > This seems to a be common misconception... > > I guess in future, we could add a check to the add_patch method to see > if the given artist already has an associated Axes, and if it does, emit > a warning. It's not just patches; but I think a single warni

Re: [Matplotlib-users] Rectangle Bug

2012-09-07 Thread Phil Elson
This seems to a be common misconception... I guess in future, we could add a check to the add_patch method to see if the given artist already has an associated Axes, and if it does, emit a warning. On 7 September 2012 07:42, Eric Firing wrote: > On 2012/09/06 8:35 PM, jonasr wrote: > > That s