[sage-support] What is /path/to/file.sage when stored in cloud folder under project? For load('file.sage') ?

2014-05-28 Thread Stephen Kauffman
What is /path/to/file.sage when stored in cloud folder under project? For load('file.sage') ? This is for sagemathcloud worksheet and project. Thanks -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop

Re: [sage-support] Re: Can't import matplotlib.pyplot in Sage 6.2

2014-05-28 Thread kcrisman
Thank you for the response, kcrisman (sorry I don’t know your first name). No problem - very long ago I just chose this handle. Thanks for your config info - I don't see why any of this should affect it, thankfully, though I'm sorry you have had such trouble! Glad you found the other

[sage-support] Re: What is /path/to/file.sage when stored in cloud folder under project? For load('file.sage') ?

2014-05-28 Thread Dima Pasechnik
this is not the right group for the Sage Cloud related questions, IMHO. Try the one I cc to. On Wednesday, 28 May 2014 12:13:00 UTC+1, Stephen Kauffman wrote: What is /path/to/file.sage when stored in cloud folder under project? For load('file.sage') ? This is for sagemathcloud worksheet

[sage-support] Re: What is /path/to/file.sage when stored in cloud folder under project? For load('file.sage') ?

2014-05-28 Thread Dima Pasechnik
On Wednesday, 28 May 2014 14:15:23 UTC+1, Dima Pasechnik wrote: this is not the right group for the Sage Cloud related questions, IMHO. Try the one I cc to. should have mentioned it explicitly: sage-cl...@googlegroups.com On Wednesday, 28 May 2014 12:13:00 UTC+1, Stephen Kauffman

Re: [sage-support] Re: Can't import matplotlib.pyplot in Sage 6.2

2014-05-28 Thread Jim Clark
On May 28, 2014, at 5:11 AM, kcrisman kcris...@gmail.com wrote: In fact, one test you could do is to test that one file. You'd have to cd into the actual Sage-6.2-... directory and then do ./sage -t src/sage/plot/plot.py Fails the test (same error: cannot import name _tkagg):

[sage-support] Solving equation

2014-05-28 Thread George Hokke
Hi, what I want to do is to solve an equation in which the function contains a numerical integral in its definition. Something like this: sage: d=lambda y: numerical_integral(x**2+y,0,1)[0] sage: d(0) 0. works until here. But now I'd want to do: sage: solve(d(y)==1,y) ValueError:

Re: [sage-support] Re: Can't import matplotlib.pyplot in Sage 6.2

2014-05-28 Thread John H Palmieri
On Wednesday, May 28, 2014 10:03:32 AM UTC-7, Jim wrote: On May 28, 2014, at 5:11 AM, kcrisman kcri...@gmail.com javascript: wrote: In fact, one test you could do is to test that one file. You'd have to cd into the actual Sage-6.2-... directory and then do ./sage -t

Re: [sage-support] Re: Can't import matplotlib.pyplot in Sage 6.2

2014-05-28 Thread John H Palmieri
On Wednesday, May 28, 2014 10:15:53 AM UTC-7, John H Palmieri wrote: On Wednesday, May 28, 2014 10:03:32 AM UTC-7, Jim wrote: On May 28, 2014, at 5:11 AM, kcrisman kcri...@gmail.com wrote: In fact, one test you could do is to test that one file. You'd have to cd into the actual

Re: [sage-support] Re: Can't import matplotlib.pyplot in Sage 6.2

2014-05-28 Thread Jim Clark
On May 28, 2014, at 10:15 AM, John H Palmieri jhpalmier...@gmail.com 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

Re: [sage-support] Re: Can't import matplotlib.pyplot in Sage 6.2

2014-05-28 Thread Jim Clark
On May 28, 2014, at 10:21 AM, John H Palmieri jhpalmier...@gmail.com wrote: Oh, and to answer your other question: I just downloaded the Sage binary on an OS X Mavericks 10.9.3 machine and was unable to replicate the problem. I wonder if the presence of the macports stuff is interfering

Re: [sage-support] Re: Can't import matplotlib.pyplot in Sage 6.2

2014-05-28 Thread Jim Clark
On May 28, 2014, at 10:42 AM, Jim Clark jimfortheea...@earthlink.net 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

Re: [sage-support] Re: Can't import matplotlib.pyplot in Sage 6.2

2014-05-28 Thread John H Palmieri
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.netjavascript: wrote: Also… ~/.matplotlib/matplotlibrc contains backend: TkAgg I’ll try moving this out of the way… Found the culprit! Renamed matplotlibrc to

[sage-support] Re: Solving equation

2014-05-28 Thread Dima Pasechnik
On 2014-05-28, George Hokke manuel.offid...@gmail.com wrote: Hi, what I want to do is to solve an equation in which the function contains a numerical integral in its definition. Something like this: sage: d=lambda y: numerical_integral(x**2+y,0,1)[0] sage: d(0) 0. works

[sage-support] Re: Memory Leak in mutipolynomial evaluation

2014-05-28 Thread Gabriel Furstenheim Milerud
Hi Simon, You're completely right. Actually I messed up the libraries, the __call__ method used should be the one from Mpolynomial_libsingular. -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving

Re: [sage-support] Re: Can't import matplotlib.pyplot in Sage 6.2

2014-05-28 Thread Jim Clark
On May 28, 2014, at 11:26 AM, John H Palmieri jhpalmier...@gmail.com wrote: 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

Re: [sage-support] Solving equation

2014-05-28 Thread Dan Drake
On Wed, 28 May 2014 at 08:14AM -0700, George Hokke wrote: Hi, what I want to do is to solve an equation in which the function contains a numerical integral in its definition. Something like this: sage: d=lambda y: numerical_integral(x**2+y,0,1)[0] sage: d(0) 0. works until

Re: [sage-support] Re: Can't import matplotlib.pyplot in Sage 6.2

2014-05-28 Thread kcrisman
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

[sage-support] Re: Using lrs in Sage

2014-05-28 Thread kcrisman
On Tuesday, September 10, 2013 4:55:02 AM UTC-4, Dima Pasechnik wrote: On 2013-09-10, Vince vincent...@gmail.com javascript: wrote: I've seen that lrs can be installed as an optional package in Sage but I can't quite any further then that. Once lrs is installed: