Quelle _Chapter_Jupyter_Renderables.xml
Sprache: unbekannt
<?xmlversion="1.0"encoding="UTF-8"?>
<!-- This is an automatically generated file. -->
<Chapter Label="Chapter_Jupyter_Renderables">
<Heading>Jupyter Renderables</Heading>
<P/>
A <C>JupyterRenderable</C> is an object that can be rendered
by Jupyter.
JupyterRenderables are component object that have to contain
at least the components <C>data</C> and <C>metadata</C>.
<P/>
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.
<P/>
<Example><![CDATA[
render := JupyterRenderable(
rec( text\/plain := "Integers",
text\/html := "$\mathbb{Z}$" )
, rec( ) );
<ManSection>
<Filt Arg="arg" Name="" Label="for IsComponentObjectRep and IsJupyterRenderable"/>
<Returns><K>true</K> or <K>false</K>
</Returns>
<Description>
<P/>
</Description>
</ManSection>
<ManSection>
<Oper Arg="data, metadata" Name="JupyterRenderable" Label="for IsObject, IsObject"/>
<Returns>A new JupyterRenderable
</Returns>
<Description>
Basic constructor for JupyterRenderable
</Description>
</ManSection>
<ManSection>
<Oper Arg="arg" Name="JupyterRender" Label="for IsObject"/>
<Description>
Method that provides rich viewing experience if
code used inside Jupyter
</Description>
</ManSection>
<ManSection>
<Attr Arg="arg" Name="JupyterRenderableData" Label="for IsJupyterRenderable"/>
<Description>
Accessor for data in a JupyterRenderable
</Description>
</ManSection>
<ManSection>
<Attr Arg="arg" Name="JupyterRenderableMetadata" Label="for IsJupyterRenderable"/>
<Description>
Accessor for metadata in a JupyterRenderable
</Description>
</ManSection>
</Section>
</Chapter>
[ zur Elbe Produktseite wechseln0.12Quellennavigators
Analyse erneut starten
]