In the sage notebook (version 2.9.3), we see:

sage: a=matrix(2,[1,2,3,4]); a
[1 2]
[3 4]
sage: show(a)
< nice pretty rendering of the matrix, presumably using jsmath >
sage: a.show()
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/home/grout/.sage/sage_notebook/worksheets/admin/7/code/27.py", 
line 4, in <module>
     a.show()
   File 
"/home/grout/sage/local/lib/python2.5/site-packages/sympy/plotting/", 
line 1, in <module>

AttributeError: 'sage.matrix.matrix_integer_dense.Matrix_integer_de' 
object has no attribute 'show'


Is show(expr) the best and most general way to get pretty output in the 
notebook, as opposed to expr.show(), where expr is a general sage object 
or expression?  Or are they supposed to be interchangeable, and what I'm 
seeing above is a bug in the matrix code?  Or is there some other 
consistent way to get pretty output?

I'm looking for something consistent for my students to use to get a 
pretty output of whatever they are doing.

Thanks,

Jason


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@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-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to