Yes I wrote about problem with show() , too

 

is matplotlib seriouse project????!!!!

Sandy

 

Hi,
I am a real newbie at matplotlib, so I apologize if this is an obvious
question.
I am running ipython in emacs and while the first time I use the show()
command in the ipython buffer the graph shows up fine, subsequent times that
I call the command it, the graph does not show up. I am on ubuntu 10.04
(64) and I built the matplotlib library from source.
I am trying to get the graphs to show up the subsequent times as well (sorry
for the pun).
Thanks for any help.
 
----------------------------------------
Ted Rosenbaum
Graduate Student
Department of Economics
Yale University

 
> From: matplotlib-users-requ...@lists.sourceforge.net
> Subject: Matplotlib-users Digest, Vol 48, Issue 46
> To: matplotlib-users@lists.sourceforge.net
> Date: Wed, 26 May 2010 04:41:13 +0000
> 
> Send Matplotlib-users mailing list submissions to
> matplotlib-users@lists.sourceforge.net
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> or, via email, send a message with subject or body 'help' to
> matplotlib-users-requ...@lists.sourceforge.net
> 
> You can reach the person managing the list at
> matplotlib-users-ow...@lists.sourceforge.net
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Matplotlib-users digest..."
> 
> 
> Today's Topics:
> 
> 1. interpolate inside a circle (Carlos Grohmann)
> 2. Re: Mac backend problems for nearly all backends.
> (Jonathan Stickel)
> 3. Re: Mac backend problems for nearly all backends. (Daniel Welling)
> 4. Show() in emacs (Ted Rosenbaum)
> 5. Re: Mac backend problems for nearly all backends.
> (Michiel de Hoon)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Tue, 25 May 2010 21:47:14 -0300
> From: Carlos Grohmann <carlos.grohm...@gmail.com>
> Subject: [Matplotlib-users] interpolate inside a circle
> To: matplotlib-users <matplotlib-users@lists.sourceforge.net>
> Message-ID:
> <aanlktinpc_vk2z_jbrqfvfvalapfxxll88h-rvu2s...@mail.gmail.com>
> Content-Type: text/plain; charset=windows-1252
> 
> Dears, I want to interpolate some irregular data using radial basis.
> Can I interpolate only the data that falls inside a circle (or a
> polygon)?
> 
> TIA
> 
> -- 
> Prof. Carlos Henrique Grohmann - Geologist D.Sc.
> Institute of Geosciences - Univ. of S?o Paulo, Brazil
> http://www.igc.usp.br/pessoais/guano
> Linux User #89721
> ________________
> Can?t stop the signal.
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Tue, 25 May 2010 20:48:27 -0600
> From: Jonathan Stickel <jjstic...@vcn.com>
> Subject: Re: [Matplotlib-users] Mac backend problems for nearly all
> backends.
> To: matplotlib-users@lists.sourceforge.net
> Message-ID: <4bfc8bfb.9000...@vcn.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> On 05/25/2010 matplotlib-users-requ...@lists.sourceforge.net wrote:
> > From: Christopher Barker <chris.bar...@noaa.gov>
> > Subject: Re: [Matplotlib-users] Mac backend problems for nearly all
> > backends.
> > To: matplotlib-users@lists.sourceforge.net
> > Message-ID: <4bfc626c.40...@noaa.gov>
> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> > 
> > Jonathan Stickel wrote:
> > > > I've experienced many of the same problems on Mac OS X 10.6.3 
> > (Snow 
> > > > Leopard). I have python/scipy/numpy/matplotlib/ipython all 
> > installed 
> > > > via Macports.
> > 
> > Just to be clear -- this sounds like a MacPorts problem, not 
> > necessarily 
> > an OS-X problem.
> > 
> > 
> > > > I finally have the WXagg backend 
> > > > working, but that required installed WXPython with the gtk/X11 
> > backend.
> > 
> > Does MacPorts not allow a native wx? Maybe becasue you're running 64 
> > bit?
> > 
> 
> Right, I am running Snow Leopard and have Python 2.6 installed 64 bit. 
> Apparently, Carbon requires 32 bit and wxWidgets/wxPython does not (yet) 
> support Cocoa. This problem will bite you in one form or another on Mac 
> OS X, regardless of whether you are using Macports or something else.
> 
> > Anyway, I guess that's why I don't use macports for python.
> 
> See above.
> 
> > 
> > 
> > >> >> In any case, I have been having royal problems with GUI 
> > backends and
> > >> >> matplotlib.
> > >> >> Some background on where I've been having these problems:
> > >> >> Machine 1: OSX 10.5.8 G5 PPC
> > 
> > That's what I've been running, and I've had no real issues (Haven't 
> > tried the OS-X back-end) -- but I'm using the python.org python.
> > 
> > >> >> Machine 2: OSX 10.5.7 Macbook pro/Intel
> > >> >> Code versions: python 2.5.4, Numpy 1.3.0, Scipy 0.7.0 (all 
> > obtained through
> > >> >> fink.)
> > 
> > OK -- then a fink issue, rather than a Macports one -- same idea, 
> > though.
> > 
> > My impression is that neither fink nor macports do well with Mac GUI 
> > stuff -- unless you're talking X11.
> 
> Not exactly true. Fink and Macports are tools and have their 
> shortcomings, but both can be immensely useful for installing all this 
> stuff. Otherwise, you do it manually, which of course can cause you 
> trouble as well. Anyway, getting off topic. I only intended to report 
> some form of success with the wx backend.
> 
> Jonathan
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Tue, 25 May 2010 21:23:12 -0600
> From: Daniel Welling <dantwell...@gmail.com>
> Subject: Re: [Matplotlib-users] Mac backend problems for nearly all
> backends.
> To: Jonathan Stickel <jjstic...@vcn.com>
> Cc: matplotlib-users@lists.sourceforge.net
> Message-ID:
> <aanlktike1zurmun1h9g5d6qkdnyqtricseglw-wpq...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Thanks for the info...
> 1)The problem does manifest in the same manner through the normal python
> prompt.
> 2) I'm not sure what is meant by a "framework install." Everything (except
> MPL 99.1.1) was installed through fink.
> 3) I've never had problems with Fink software before, and I have a crapload
> (technical term) of stuff installed. This is neither here nor there,
> however, as it seems that not all Pythons are created equal.
> 4) A colleague of mine claims to have everything working on a new Intel mac
> (I'm guessing 10.5.8) right out of MacPorts; I'll talk to him more and try
> to find out what is different between our two cases.
> 5) I have yet to try installing wxPython for python 2.5; this may work in
> the end. It's not in fink, so I've put off installing it manually. I'll
> give it a shot and let you know how it works.
> 6) Although I use x11 and not the native Mac terminal, I'm not sure if this
> requires me to install different packages for the gui stuff. Could you guys
> expand on this, please?
> 
> Finally, I've had some measure of success by installing Qt4 (through Fink)
> and using the Qt4Agg backend. Because the current stable fink Qt4 release
> (4.6.1) has a bug, I need to apply the fix found here:
> http://old.nabble.com/Qt4-backend:-critical-bug-with-PyQt4-v4.6%2B-td26205716.html
> in order to allow more than one plot per session to be shown. I'll re-write
> the fix here for convenience and clarity (the original did not have the
> proper module references in it, so this saves some 5 minutes of
> tab-completion work in ipython...)
> 
> # Add this before "FigureManagerQT" class
> class FigureWindow(QtGui.QMainWindow):
> def __init__(self):
> super(FigureWindow, self).__init__()
> def closeEvent(self, event):
> super(FigureWindow, self).closeEvent(event)
> if QtCore.PYQT_VERSION_STR.startswith('4.6'):
> self.emit(QtCore.SIGNAL('destroyed()'))
> # Replace "QtGui.QMainWindow" by "FigureWindow" in
> "FigureManagerQT"'s constructor
> 
> This works perfectly on my Intel machine running MPL 99.1.1. It's fast and
> looks sharp. I'll report back on the PPC/99.0 combo tomorrow; Qt4 takes a
> thousand hours to compile.
> 
> Thanks for the input.
> 
> On Tue, May 25, 2010 at 8:48 PM, Jonathan Stickel <jjstic...@vcn.com> wrote:
> 
> > On 05/25/2010 matplotlib-users-requ...@lists.sourceforge.net wrote:
> > > From: Christopher Barker <chris.bar...@noaa.gov>
> > > Subject: Re: [Matplotlib-users] Mac backend problems for nearly all
> > > backends.
> > > To: matplotlib-users@lists.sourceforge.net
> > > Message-ID: <4bfc626c.40...@noaa.gov>
> > > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> > >
> > > Jonathan Stickel wrote:
> > > > > I've experienced many of the same problems on Mac OS X 10.6.3
> > > (Snow
> > > > > Leopard). I have python/scipy/numpy/matplotlib/ipython all
> > > installed
> > > > > via Macports.
> > >
> > > Just to be clear -- this sounds like a MacPorts problem, not
> > > necessarily
> > > an OS-X problem.
> > >
> > >
> > > > > I finally have the WXagg backend
> > > > > working, but that required installed WXPython with the gtk/X11
> > > backend.
> > >
> > > Does MacPorts not allow a native wx? Maybe becasue you're running 64
> > > bit?
> > >
> >
> > Right, I am running Snow Leopard and have Python 2.6 installed 64 bit.
> > Apparently, Carbon requires 32 bit and wxWidgets/wxPython does not (yet)
> > support Cocoa. This problem will bite you in one form or another on Mac
> > OS X, regardless of whether you are using Macports or something else.
> >
> > > Anyway, I guess that's why I don't use macports for python.
> >
> > See above.
> >
> > >
> > >
> > > >> >> In any case, I have been having royal problems with GUI
> > > backends and
> > > >> >> matplotlib.
> > > >> >> Some background on where I've been having these problems:
> > > >> >> Machine 1: OSX 10.5.8 G5 PPC
> > >
> > > That's what I've been running, and I've had no real issues (Haven't
> > > tried the OS-X back-end) -- but I'm using the python.org python.
> > >
> > > >> >> Machine 2: OSX 10.5.7 Macbook pro/Intel
> > > >> >> Code versions: python 2.5.4, Numpy 1.3.0, Scipy 0.7.0 (all
> > > obtained through
> > > >> >> fink.)
> > >
> > > OK -- then a fink issue, rather than a Macports one -- same idea,
> > > though.
> > >
> > > My impression is that neither fink nor macports do well with Mac GUI
> > > stuff -- unless you're talking X11.
> >
> > Not exactly true. Fink and Macports are tools and have their
> > shortcomings, but both can be immensely useful for installing all this
> > stuff. Otherwise, you do it manually, which of course can cause you
> > trouble as well. Anyway, getting off topic. I only intended to report
> > some form of success with the wx backend.
> >
> > Jonathan
> >
> >
> > ------------------------------------------------------------------------------
> >
> > _______________________________________________
> > Matplotlib-users mailing list
> > Matplotlib-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> 
> ------------------------------
> 
> Message: 4
> Date: Tue, 25 May 2010 23:40:25 -0400
> From: Ted Rosenbaum <ted.rosenb...@yale.edu>
> Subject: [Matplotlib-users] Show() in emacs
> To: matplotlib-users@lists.sourceforge.net
> Message-ID:
> <aanlktikzovhvm383jlk0qndlf04h4hhp4ubq6-kec...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Hi,
> I am a real newbie at matplotlib, so I apologize if this is an obvious
> question.
> I am running ipython in emacs and while the first time I use the show()
> command in the ipython buffer the graph shows up fine, subsequent times that
> I call the command it, the graph does not show up. I am on ubuntu 10.04
> (64) and I built the matplotlib library from source.
> I am trying to get the graphs to show up the subsequent times as well (sorry
> for the pun).
> Thanks for any help.
> 
> ----------------------------------------
> Ted Rosenbaum
> Graduate Student
> Department of Economics
> Yale University
> -------------- next part --------------
> An HTML attachment was scrubbed...
> 
> ------------------------------
> 
> Message: 5
> Date: Tue, 25 May 2010 21:41:06 -0700 (PDT)
> From: Michiel de Hoon <mjldeh...@yahoo.com>
> Subject: Re: [Matplotlib-users] Mac backend problems for nearly all
> backends.
> To: Jonathan Stickel <jjstic...@vcn.com>, Daniel Welling
> <dantwell...@gmail.com>
> Cc: matplotlib-users@lists.sourceforge.net
> Message-ID: <812729.93601...@web62408.mail.re1.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> 
> 
> > 1)The problem does manifest in the same manner through the normal python
> prompt.
> 
> OK that is good to know.
> 
> > 2) I'm not sure what is meant by a "framework install." ?Everything 
> (except MPL 99.1.1)
> > was installed through fink.
> 
> This is important. Check where python is installed. If 'which python' shows 
> /Library/Frameworks/Python.framework/Versions/2.6/bin/python or something 
> similar, you have a framework version. If on the other hand it shows 
> /usr/bin/python, /usr/local/bin/python, or something similar, you don't have 
> a framework version. I don't know what fink installs by default. If you don't 
> have Python installed as a framework, some backends (including the MacOSX 
> backend) will not interact properly with the window manager. This is a Mac 
> peculiarity. If you build Python from source, you can specify to install a 
> framework version by passing the --enable-framework option to the configure 
> script.
> 
> 
> 
> > 6) Although I use x11 and not the native Mac terminal, I'm not sure if this 
> > requires me to > install different packages for the gui stuff. ?Could you 
> > guys expand on this, please?
> 
> Some backends go make use of X11 (e.g., the gtkcairo backend), others do not 
> (e.g., the MacOSX backend). The MacOSX backend should work with both the 
> native Mac terminal and with an X11 terminal.
> 
> --Michiel.
> 
> 
> 
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> 
> ------------------------------
> 
> ------------------------------------------------------------------------------
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
> 
> End of Matplotlib-users Digest, Vol 48, Issue 46
> ************************************************
                                          
_________________________________________________________________
Hotmail: Free, trusted and rich email service.
https://signup.live.com/signup.aspx?id=60969
------------------------------------------------------------------------------

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to