Jupyter
SetOutputRendererByType
set renderer for output from Maple code cells in Jupyter
Calling Sequence
Parameters
Description
Examples
Compatibility
SetOutputRendererByType( mpltype, mediatype )
mpltype
-
type
mediatype
string or default
SetOutputRendererByType(mpltype,mediatype) specifies that Jupyter should use the renderer for objects with media type mediatype to render Maple output matching the type mpltype.
If mediatype is a string, it must be one of the IANA media types "application/json", "text/html", "text/plain", "text/latex", "image/gif", "image/png", or "image/svg".
Note that not every media type is suitable for rendering a given Maple type, and a useful rendering is not guaranteed after calling SetOutputRendererByType.
If mediatype is the symbol default, this has the effect of cancelling any previous call to SetOutputRendererByType for the type mpltype and reverting to default behavior. If SetOutputRendererByType was not previously called in this session, this has no effect.
Specify that any equations should be rendered using "text/plain". By default these would be rendered as "text/latex".
with⁡Jupyter:
SetOutputRendererByType⁡equation,text/plain
default
SetOutputRendererByType⁡equation,default
text/plain
The Jupyter[SetOutputRendererByType] command was introduced in Maple 2022.
For more information on Maple 2022 changes, see Updates in Maple 2022.
See Also
Jupyter/package
Maple Kernel for Jupyter
Download Help Document