| Download
All published worksheets from http://sagenb.org
Project: sagenb.org published worksheets
Views: 168822Image: ubuntu2004
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_17.py", line 9, in <module>
exec compile(ur'open("___code___.py","w").write("# -*- coding: utf-8 -*-\n" + _support_.preparse_worksheet_cell(base64.b64decode("eCwgeSA9IHZhcigneCx5JykKcGxvdDNkKHNxcnQoNCAtKCh4XjIpLzQpLSh5XjIpKSwgKHgsMCwxMCksICh5LDAsMTApKQ=="),globals())+"\n"); execfile(os.path.abspath("___code___.py"))' + '\n', '', 'single')
File "", line 1, in <module>
File "/tmp/tmpiTYLV4/___code___.py", line 4, in <module>
exec compile(ur'plot3d(sqrt(_sage_const_4 -((x**_sage_const_2 )/_sage_const_4 )-(y**_sage_const_2 )), (x,_sage_const_0 ,_sage_const_10 ), (y,_sage_const_0 ,_sage_const_10 ))' + '\n', '', 'single')
File "", line 1, in <module>
File "/usr/local/sage2/local/lib/python2.6/site-packages/sage/misc/displayhook.py", line 174, in displayhook
print_obj(sys.stdout, obj)
File "/usr/local/sage2/local/lib/python2.6/site-packages/sage/misc/displayhook.py", line 142, in print_obj
print >>out_stream, `obj`
File "base.pyx", line 76, in sage.plot.plot3d.base.Graphics3d.__repr__ (sage/plot/plot3d/base.c:2163)
File "base.pyx", line 1085, in sage.plot.plot3d.base.Graphics3d.show (sage/plot/plot3d/base.c:10556)
File "base.pyx", line 823, in sage.plot.plot3d.base.Graphics3d._prepare_for_jmol (sage/plot/plot3d/base.c:6807)
File "base.pyx", line 901, in sage.plot.plot3d.base.Graphics3d._transform_to_bounding_box (sage/plot/plot3d/base.c:8508)
File "/usr/local/sage2/local/lib/python2.6/site-packages/sage/plot/plot3d/shapes2.py", line 283, in frame_labels
fmt = fmt_string(lz1 - lz0)
File "/usr/local/sage2/local/lib/python2.6/site-packages/sage/plot/plot3d/shapes2.py", line 268, in fmt_string
n = max(0, 2 - nd(a/2.0))
File "/usr/local/sage2/local/lib/python2.6/site-packages/sage/plot/plot3d/shapes2.py", line 263, in <lambda>
nd = lambda a: int(log(a)/log10)
ValueError: cannot convert float NaN to integer