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]> wrote: > > 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 options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---