Hi, I tried a few settings in matplotlibrc and found that TkAgg worked.
Thanks, Adam On May 18, 4:10 pm, chu-ching huang <[EMAIL PROTECTED]> wrote: > This error might be caused by the wrong setting (?) in matplotlibrc > in the directory, $SAGE/local/lib/python2.5/site-packages/matplotlib/ > mpl-data, > ... > # the default backend; one of GTK GTKAgg GTKCairo FltkAgg QtAgg TkAgg > # Agg Cairo GD GDK Paint PS PDF SVG Template > backend : Agg > ... > I add wx (module) and change it to: > backend : WX > > And the problem is solved. > > cch > > On May 18, 11:05 am, Adam Webb <[EMAIL PROTECTED]> wrote: > > > I have recently had a problem plotting with matplotlib in sage 3.0 and > > now also in sage 3.0.1. > > Even if I try the simplest plot from the matplotlib tutorial, I don't > > get a plot. > > > sage: from pylab import * > > sage: plot([1,2,3,4]) > > [<matplotlib.lines.Line2D instance at 0xc12176c>] > > sage: show() > > sage: > > > I have tried this in both the notebook and from the command line. I > > have also tried using sage -python and ipython. In all cases no plot > > appears. In fact nothing seems to happen. There is no window or plot > > and unfortunately, no error message. > > > I have installed sage 3.0.1 from source on two machines. One is > > running Ubuntu 8.10 on AMD 64 and the other is a 32 bit machine > > running Scientific Linux 5.0. I also tried the binary: sage-3.0.1- > > rhel32bit-intel-sse2-i686-Linux.tar.gz. > > > I have tried removing .matplotlib and .ipython from my home directory > > but this had no effect. > > > Cheers, > > Adam --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---