| Download
All published worksheets from http://sagenb.org
Project: sagenb.org published worksheets
Views: 168742Image: ubuntu2004
11
-12
<type 'int'>
0 1
0.500000000000000 1.00000000000000
<type 'float'>
0.5 1.0
0.500000000000000 1.00000000000000
<type 'sage.rings.integer.Integer'>
1/2 1
0.500000000000000 1.00000000000000
(0,0) ?
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/sage/sagenb/sage_notebook/worksheets/qed777/19/code/18.py", line 8, in <module>
plt.axis([_sage_const_0 , _sage_const_1 /_sage_const_2 , _sage_const_0 , _sage_const_2 /_sage_const_5 ])
File "/home/sage/sage_install/sage-a/local/lib/python2.5/site-packages/matplotlib/pyplot.py", line 827, in axis
v = ax.axis(*v, **kwargs)
File "/home/sage/sage_install/sage-a/local/lib/python2.5/site-packages/matplotlib/axes.py", line 1250, in axis
self.set_xlim([v[0], v[1]])
File "/home/sage/sage_install/sage-a/local/lib/python2.5/site-packages/matplotlib/axes.py", line 1944, in set_xlim
xmin, xmax = mtransforms.nonsingular(xmin, xmax, increasing=False)
File "/home/sage/sage_install/sage-a/local/lib/python2.5/site-packages/matplotlib/transforms.py", line 2237, in nonsingular
if (not np.isfinite(vmin)) or (not np.isfinite(vmax)):
TypeError: function not supported for these types, and can't coerce safely to supported types