charpent@asus16-ec:~$ sage
SageMath version 8.2.rc1, Release Date: 2018-03-31
sage: plot3d(lambda x,y:x^2+y^2, (-2,2), (2,2))
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-1-e082d582023f> in <module>()
----> 1 plot3d(lambda x,y:x**Integer(2)+y**Integer(2), (-Integer(2),Integer(2)), (Integer(2),Integer(2)))
/usr/local/sage-8/local/lib/python2.7/site-packages/sage/plot/plot3d/plot3d.pyc in plot3d(f, urange, vrange, adaptive, transformation, **kwds)
1073 u=fast_float_arg(0)
1074 v=fast_float_arg(1)
-> 1075 P=parametric_plot3d.parametric_plot3d((u,v,f), urange, vrange, **kwds)
1076 P.frame_aspect_ratio([1.0,1.0,0.5])
1077 return P
/usr/local/sage-8/local/lib/python2.7/site-packages/sage/plot/plot3d/parametric_plot3d.pyc in parametric_plot3d(f, urange, vrange, plot_points, boundary_style, **kwds)
1007 if plot_points == "automatic":
1008 plot_points = [40, 40]
-> 1009 G = _parametric_plot3d_surface(f, urange, vrange, plot_points=plot_points, boundary_style=boundary_style, **kwds)
1010 G._set_extra_kwds(kwds)
1011 return G
/usr/local/sage-8/local/lib/python2.7/site-packages/sage/plot/plot3d/parametric_plot3d.pyc in _parametric_plot3d_surface(f, urange, vrange, plot_points, boundary_style, **kwds)
1120 """
1121 from sage.plot.misc import setup_for_eval_on_grid
-> 1122 g, ranges = setup_for_eval_on_grid(f, [urange, vrange], plot_points)
1123 urange = srange(*ranges[0], include_endpoint=True)
1124 vrange = srange(*ranges[1], include_endpoint=True)
/usr/local/sage-8/local/lib/python2.7/site-packages/sage/plot/misc.pyc in setup_for_eval_on_grid(funcs, ranges, plot_points, return_vars)
134 range_steps = [abs(range[1] - range[0])/(p-1) for range, p in zip(ranges, plot_points)]
135 if min(range_steps) == float(0):
--> 136 raise ValueError("plot start point and end point must be different")
137
138 options={}
ValueError: plot start point and end point must be different
sage: plot3d(lambda x,y:x^2+y^2, (-2,2), (-2,2))
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
<ipython-input-2-b8b9618a6cbb> in <module>()
----> 1 plot3d(lambda x,y:x**Integer(2)+y**Integer(2), (-Integer(2),Integer(2)), (-Integer(2),Integer(2)))
/usr/local/sage-8/local/lib/python2.7/site-packages/IPython/core/displayhook.pyc in __call__(self, result)
244 self.start_displayhook()
245 self.write_output_prompt()
--> 246 format_dict, md_dict = self.compute_format_data(result)
247 self.update_user_ns(result)
248 self.fill_exec_result(result)
/usr/local/sage-8/local/lib/python2.7/site-packages/IPython/core/displayhook.pyc in compute_format_data(self, result)
148
149 """
--> 150 return self.shell.display_formatter.format(result)
151
152 # This can be set to True by the write_output_prompt method in a subclass
/usr/local/sage-8/local/lib/python2.7/site-packages/sage/repl/display/formatter.pyc in format(self, obj, include, exclude)
200 """
201 # First, use Sage rich output if there is any
--> 202 sage_format, sage_metadata = self.dm.displayhook(obj)
203 assert PLAIN_TEXT in sage_format, 'plain text is always present'
204 if not set(sage_format.keys()).issubset(self.default_mime()):
/usr/local/sage-8/local/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.pyc in displayhook(self, obj)
806 self._backend.set_underscore_variable(obj)
807 plain_text, rich_output = self._rich_output_formatter(obj, dict())
--> 808 return self._backend.displayhook(plain_text, rich_output)
809
810 def display_immediately(self, obj, **rich_repr_kwds):
/usr/local/sage-8/local/lib/python2.7/site-packages/sage/repl/rich_output/backend_ipython.pyc in displayhook(self, plain_text, rich_output)
264 return ({u'text/plain': msg}, {})
265 elif isinstance(rich_output, OutputSceneJmol):
--> 266 msg = self.launch_jmol(rich_output, plain_text.text.get_unicode())
267 return ({u'text/plain': msg}, {})
268 elif isinstance(rich_output, OutputSceneWavefront):
/usr/local/sage-8/local/lib/python2.7/site-packages/sage/repl/rich_output/backend_ipython.pyc in launch_jmol(self, output_jmol, plain_text)
367 jdata = JmolData()
368 if not jdata.is_jvm_available() and not DOCTEST_MODE:
--> 369 raise RuntimeError('jmol cannot run, no suitable java version found')
370 launch_script = output_jmol.launch_script_filename()
371 from sage.env import SAGE_LOCAL
RuntimeError: jmol cannot run, no suitable java version found
sage:
Doubleplus ungood...
--