A JupyterRenderable
is an object that can be rendered by Jupyter. JupyterRenderables are component object that have to contain at least the components data
and metadata
.
These components are themselves GAP records which can contain different representations of an object to be rendered. The record component name is the MIME-Type of the representation and the content is the representation itself.
render := JupyterRenderable( rec( text\/plain := "Integers", text\/html := "$\mathbb{Z}$" ) , rec( ) ); render2 := JupyterRenderable( rec( ("image/svg+xml") := "<svg></svg>" , rec( ("image/svg+xml") := rec( width := 500, height := 500 ) ) );
‣ IsJupyterRenderable ( arg ) | ( filter ) |
Returns: true
or false
JupyterRenderable
‣ ( arg ) | ( filter ) |
Returns: true
or false
‣ JupyterRenderable ( data, metadata ) | ( operation ) |
Returns: A new JupyterRenderable
Basic constructor for JupyterRenderable
‣ JupyterRender ( arg ) | ( operation ) |
Method that provides rich viewing experience if code used inside Jupyter
‣ JupyterRenderableData ( arg ) | ( attribute ) |
Accessor for data in a JupyterRenderable
‣ JupyterRenderableMetadata ( arg ) | ( attribute ) |
Accessor for metadata in a JupyterRenderable
generated by GAPDoc2HTML