On Wednesday, May 28, 2014 10:52:07 AM UTC-7, Jim wrote:
>
> On May 28, 2014, at 10:42 AM, Jim Clark 
> <jimfort...@earthlink.net<javascript:>> 
> wrote:
>
> Also…
> ~/.matplotlib/matplotlibrc contains
> backend:  TkAgg
>
> I’ll try moving this out of the way…
>
>
> Found the culprit! Renamed matplotlibrc to matplotlibrc.bak,
> started a fresh terminal window and restarted Sage
> and now import matplotlib.pyplot as plt works.
>
> Thanks, John Palmieri — your suggestion led me to the source of the 
> problem.
>
> Perhaps I need to find a better way to insulate macports from Sage…
>


It looks like the actual problem is a bug in Sage (which has been fixed in 
the beta releases of Sage 6.3). Namely, when Sage runs, it is supposed to 
use ~/.sage/matplotlib-1.3.1 rather than ~/.matplotlib for matplotlib 
configuration (just for your sort of situation), but this doesn't work 
right in Sage 6.2. This is fixed at http://trac.sagemath.org/ticket/16305, 
in case you want to make the change to your copy of Sage 6.2.

-- 
John

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to