On Wed, 17 Nov 2010 19:00:54 -0600
Benjamin Root <ben.r...@ou.edu> wrote:

Another data point - 

I tried Qt4Agg - it also works interactively - ie it goes back to the
ipython cmd line.  I also noticed when I start ipython --pylab, the
following error messages occur:

** Message: pygobject_register_sinkfunc is deprecated (GtkWindow)
** Message: pygobject_register_sinkfunc is deprecated (GtkInvisible)
** Message: pygobject_register_sinkfunc is deprecated (GtkObject)

-C
> On Wed, Nov 17, 2010 at 6:54 PM, Collin Day <dcday...@gmail.com>
> wrote:
> 
> > Either I updated something that changed Matplotlib's behavior or I
> > am missing something, but when I make a plot in ipython, control is
> > not returning to the prompt - I can't do anything until I close the
> > plot. Here is exactly what I am doing:
> >
> > ipython --pylab
> >
> > x=arange(10)
> > y=x**2
> >
> > figure()
> > plot(x,y)
> > show()
> >
> > Also, I am not sure if that is right.  In the past I remember just
> > being able to type plot() and the figure came up and control went
> > back to ipython to continue.  But I could be wrong.
> >
> > Then, if I want to do anything else, I have to close the window.
> > The backend I am using is WXAgg.  I also noticed that if I use the
> > GTKAgg backend, control does not return to the prompt even after
> > closing the plot.  I have to hit ctl-c to get the prompt back.  I
> > have tried this both with ion() and ioff().
> >
> > I don't ever remember having to close the plot or hit control-c to
> > keep working.  I googled and did not really see anything relevant.
> > Could anyone tell me what I am missing or what I need to do so that
> > I can plot in ipython, leave the plot up, and then continue working?
> >
> > I have matplotlib 1.0.0 and ipython 0.10.1
> >
> > Thanks for any help!
> >
> >
> Most likely, you were used to interactive mode being on.  A new
> installation of matplotlib might have over-written your matplotlibrc
> file, resetting the option to False.  Find your matplotlibrc file and
> change interactive to True to get the behavior you want.
> 
> I hope that helps!
> 
> Ben Root

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to