Re: [sage-support] Re: Where is possible to view the code of one command? for example: lagrange_polynomial?

2015-10-06 Thread Jori Mäntysalo
On Tue, 6 Oct 2015, Simon King wrote: Also this does not work with all (longer?) functions in the notebook. Try g = Graph() g.plot?? for an example of one kind of a bug. Works for me (on the command line at least). Yes, it works on command line and on jyputer notebook. But with older Sage

[sage-support] Re: Where is possible to view the code of one command? for example: lagrange_polynomial?

2015-10-06 Thread Simon King
Hi Jori, On 2015-10-06, Jori =?ISO-8859-1?Q?M=E4ntysalo?= wrote: > Yes, it works on command line and on jyputer notebook. But with older Sage > notebook it does not. Same happens if you type Yes, that's what I meant. Some people have tried to make the Sage notebook a

Re: [sage-support] Re: Where is possible to view the code of one command? for example: lagrange_polynomial?

2015-10-05 Thread kcrisman
> > > Also this does not work with all (longer?) functions in the notebook. Try > > g = Graph() > g.plot?? > > for an example of one kind of a bug. > > In the notebook sometimes if there is something with Traceback... then it cuts off there, see https://github.com/sagemath/sagenb/issues/34

[sage-support] Re: Where is possible to view the code of one command? for example: lagrange_polynomial?

2015-10-05 Thread kcrisman
> > The source code of Python built-ins can not be obtained by the "??". But > if you have an object (a function, a type, and instance, ...) that is > defined in the SageMath library, then "??" should give you the source code > and "?" should give you the doc string. If it doesn't then it is a

[sage-support] Re: Where is possible to view the code of one command? for example: lagrange_polynomial?

2015-10-05 Thread kcrisman
> Hi everyone, where it is possible to find the code of each command or > maybe documentation? For example lagrange_polynomial. How can one see the > function code, but documention would be better. Thank you in advance. > sage: lagrange_polynomial? # should be doc sage: lagrange_polynomial??

[sage-support] Re: Where is possible to view the code of one command? for example: lagrange_polynomial?

2015-10-05 Thread Simon King
Hi Karl-Dieter, On 2015-10-05, kcrisman wrote: >> Hi everyone, where it is possible to find the code of each command or >> maybe documentation? For example lagrange_polynomial. How can one see the >> function code, but documention would be better. Thank you in advance. >> >