Registering ‘rich’ printers with Jupyter is a standard feature of the wonderful ocaml-jupyter (thanks, @akabe!) - you just register a printer as normal that ends up calling Jupyter_notebook.display. I have a couple of examples here for displaying trees – the one you mentioned – and ppm files. It would be very neat to be able to do something similar for mdx, and probably not too tricky too. Perhaps a good starter project?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
[ANN] Release: scikit-learn, Numpy, Scipy for OCaml, 0.3.1 | 0 | 823 | December 8, 2020 | |
[ANN] ocaml-in-python.0.1.0: Effortless Python bindings for OCaml modules | 1 | 899 | March 29, 2022 | |
[ANN] First release of OCaml bindings to the Polars dataframe library | 9 | 1645 | November 25, 2023 | |
Jupyter with pyml | 4 | 1209 | August 30, 2021 | |
OCaml for Data Science | 25 | 12883 | May 3, 2018 |