Ask Your Question

Revision history [back]

Error in the revolution plot

Hi all,

I have mentioned the error and code below. Assistance is most appreciated.

Rot=matrix([[1,0,0],[0,cos(x),sin(x)],[0,-sin(x),cos(x)]]) v=vector([1,2,3]) revolution_plot3d(Rotv,(x,0,2pi))

error: /opt/sagemath-9.3/local/lib/python3.7/site-packages/sage/repl/rich_output/display_manager.py:629: DeprecationWarning: Substitution using function-call syntax and unnamed arguments is deprecated and will be removed from a future release of Sage; you can use named arguments instead, like EXPR(x=..., y=...)

rich_output = self._call_rich_repr(obj, rich_repr_kwds) /opt/sagemath-9.3/local/lib/python3.7/site-packages/sage/repl/rich_output/display_manager.py:596: RichReprWarning: Exception in _rich_repr_ while displaying object: the number of arguments must be less than or equal to 0 RichReprWarning,

Regards, Kaunil

click to hide/show revision 2
None

Error in the revolution plot

Hi all,

I have mentioned the error and code below. Assistance is most appreciated.

Rot=matrix([[1,0,0],[0,cos(x),sin(x)],[0,-sin(x),cos(x)]])
v=vector([1,2,3])
revolution_plot3d(Rotv,(x,0,2pi))revolution_plot3d(Rot*v,(x,0,2*pi))

error:

error:

/opt/sagemath-9.3/local/lib/python3.7/site-packages/sage/repl/rich_output/display_manager.py:629: DeprecationWarning: Substitution using function-call syntax and unnamed arguments is deprecated and will be removed from a future release of Sage; you can use named arguments instead, like EXPR(x=..., y=...)

y=...)

rich_output = self._call_rich_repr(obj, rich_repr_kwds) /opt/sagemath-9.3/local/lib/python3.7/site-packages/sage/repl/rich_output/display_manager.py:596: RichReprWarning: Exception in _rich_repr_ while displaying object: the number of arguments must be less than or equal to 0 RichReprWarning,

RichReprWarning,

Regards, Kaunil