[sage-support] Re: pylab inside notebook

2008-04-12 Thread William Stein
On Sat, Apr 12, 2008 at 10:10 AM, Fabio Tonti <[EMAIL PROTECTED]> wrote: > Thank you! Unfortunately I think you are also right with your last > assumption. It just looks like an empty plot. > As a consequence, I tried this example with the new "knoboo" spkg, but here > is what I get: > > from pyl

[sage-support] Re: pylab inside notebook

2008-04-12 Thread Fabio Tonti
Thank you! Unfortunately I think you are also right with your last assumption. It just looks like an empty plot. As a consequence, I tried this example with the new "knoboo" spkg, but here is what I get: from pylab import * Traceback (most recent call last): File "", line 1, in File "/home/f

[sage-support] Re: pylab inside notebook

2008-04-12 Thread Carl Witty
On Apr 8, 4:34 am, "Fabio Tonti" <[EMAIL PROTECTED]> wrote: > sage: from pylab import * > sage: imshow([[(0,0,0)]]) > sage: savefig('foo.png') > Traceback (most recent call last): > ... > NameError: global name 'npy' is not defined > > I would just like to make an image from a 2-dimensional Array

[sage-support] Re: pylab inside notebook

2008-04-08 Thread Fabio Tonti
sage: from pylab import * sage: imshow([[(0,0,0)]]) sage: savefig('foo.png') Traceback (most recent call last): ... NameError: global name 'npy' is not defined I would just like to make an image from a 2-dimensional Array (of rgb-values)! On Tue, Apr 8, 2008 at 1:22 AM, Michael <[EMAIL PROTECTED]

[sage-support] Re: pylab inside notebook

2008-04-07 Thread Michael
See https://www.sagenb.org/home/pub/1463/ from pylab import * plot([1,2,3,4]) savefig('foo.png') --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more opti