[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 receiv

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 ref

[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 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): Jims-computer:sage jim$

[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: In

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 > > 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

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 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-.

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 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

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 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 somehow. Have you > set

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 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 matplotli

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 > > > wrote: > > Also… > ~/.matplotlib/matplotlibrc contains > backend: TkAgg > > I’ll try moving this out of the way… > > > Found the culprit! Renamed matplotlibrc to matplotlibrc.bak, > start

[sage-support] Re: Solving equation

2014-05-28 Thread Dima Pasechnik
On 2014-05-28, 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 here. > But no

[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 e

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 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 matplotlib > configuration

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. > > wo

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

[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 > 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: > > `install_package('lrs-4.2b.p1')` how do I actu