Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/GAP/pkg/jupyterkernel/doc/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 7.6.2024 mit Größe 2 kB image not shown  

Impressum _Chapter_Jupyter_Renderables.xml   Sprache: XML

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


¤ Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.0.1Bemerkung:  (vorverarbeitet)  ¤

*Bot Zugriff






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung ist noch experimentell.