On Tue, May 25, 2010 at 10:40 PM, Ted Rosenbaum <ted.rosenb...@yale.edu> wrote:
> 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.

Take a look at

  http://matplotlib.sourceforge.net/users/shell.html

It may help to configure your matplotlib backend to TkAgg.  See

  http://matplotlib.sourceforge.net/faq/installing_faq.html#what-is-a-backend
  http://matplotlib.sourceforge.net/users/customizing.html

Also, you will probably want to figure out how to make emacs launch
ipython in pylab mode, in which case you won't need show at all.
ipython will take care of everything for you in pylab mode.

JDH

------------------------------------------------------------------------------

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

Reply via email to