Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Apache/modules/http2/   (Apache Software Stiftung Version 2.4.65©)  Datei vom 29.7.2023 mit Größe 5 kB image not shown  

Quelle  _Chapter_Jupyter_Renderables.xml   Sprache: unbekannt

 
<?xml version="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( ) );

render2 := JupyterRenderable(
      rec( ("image/svg+xml") := "" 
    , rec( ("image/svg+xml") := rec( width := 500, height := 500 ) ) );
]]></Example>


<P/>
<Section Label="Chapter_Jupyter_Renderables_Section_Handlers_for_Jupyter_requests">
<Heading>Handlers for Jupyter requests</Heading>

<ManSection>
  <Filt Arg="arg" Name="IsJupyterRenderable" Label="for IsObject"/>
 <Returns><K>true</K> or <K>false</K>
</Returns>
 <Description>
   JupyterRenderable
 </Description>
</ManSection>


<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>

96%


[ zur Elbe Produktseite wechseln0.12Quellennavigators  Analyse erneut starten  ]