package jupyter
An OCaml kernel for Jupyter notebook
Install
dune-project
Dependency
Authors
Maintainers
Sources
jupyter-2.8.2.tbz
sha256=4d5862c254e16cd01be706d3d64d69467cadcadd305426dc9215a6dbcd24680b
doc/jupyter.notebook/Jupyter_notebook/index.html
Module Jupyter_notebookSource
A library for Jupyter notebooks
Source
val display :
?ctx:ctx ->
?display_id:display_id ->
?metadata:Yojson.Safe.t ->
?base64:bool ->
string ->
string ->
display_iddisplay ?ctx ?base64 mime data shows data at ctx. mime is the mime type of data.
Source
val display_file :
?ctx:ctx ->
?display_id:display_id ->
?metadata:Yojson.Safe.t ->
?base64:bool ->
string ->
string ->
display_iddisplay_file ?ctx ?base64 mime filename shows data in the file of path filename at ctx. mime is the mime type of the data.
clear_output ?ctx ?wait () removes displayed elements from ctx.
Printf
The formatter for displaying data on notebooks.
Same as Format.printf, but output on Jupyter_notebook.formatter.
Source
val display_formatter :
?ctx:ctx ->
?display_id:display_id ->
?metadata:Yojson.Safe.t ->
?base64:bool ->
string ->
display_iddisplay_formatter ?ctx ?base64 mime shows data written in Jupyter_notebook.formatter at ctx. mime is the mime type of the data.
Jupyter_notebook.formatter is flushed and data in the formatter is cleaned by calling this function.