On May 28, 2014, at 10:15 AM, John H Palmieri <[email protected]> wrote:
> Try this: start a new Sage session and do
>
> sage: import matplotlib
> sage: matplotlib.get_backend()
>
> What does it return? If it returns 'TkAgg', try
>
> sage: matplotlib.use('agg')
> sage: import matplotlib.pyplot as plt
>
> Let us know what happens.
>
ims-computer:~ jim$ sage
┌────────────────────────────────────────────────────────────────────┐
│ Sage Version 6.2, Release Date: 2014-05-06 │
│ Type "notebook()" for the browser-based notebook interface. │
│ Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
sage: import matplotlib
sage: matplotlib.get_backend()
'TkAgg'
sage: matplotlib.use('agg')
sage: import matplotlib.pyplot as plt
sage:
Success! A work-around (albeit an obscure one…)
Jim
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.