package plotly

  1. Overview
  2. Docs
Binding for Plotly Open Source Graphing Library

Install

Dune Dependency

Authors

Maintainers

Sources

v1.0.0.tar.gz
md5=a3817f0fa4fb58615bfd7cb8e64f5856
sha512=40b0d2b4a3a33ae0d9eecdd39d233bfb072ac01cbfdaaad1fe10e0057a2ed9fadb685a9aed3b47cb7296757b78665b23630dc5a0a9bc3ec5f5a3f330c7c1c69d

Description

OCaml wrapper for Plotly Open Source Graphing Library: https://plotly.com/graphing-libraries

Published: 29 Jun 2023

README

Plotly-ocaml

OCaml wrapper for Plotly Open Source Graphing Library. It provides 2 backend interfaces:

Standalone version via Pyml
Using Python library of Plotly. For standalone programs.
JSOO version
Using JS library of Plotly and Js_of_ocaml. For JSOO programs.

Supported features

Plotly-ocaml only covers small subset of Plotly features, but it is easy to add new graphs, data and layout attributes. Your contributions are welcome.

Type safety

There is no type dicipline to check your misuses of attributes, for example using z attribute in 2d scatter graph. Such cool typing can be introduced using phantom type/GADT with sub-types but I want to keep this library dumb as possible for now.

Pyml issue

pyml.20220905 does not load the Python runtime in mac OS + Homebrew. Use the fixed version of pyml if you have trouble executing python/demo/demo.exe:

$ opam pin add pyml.20220906 git+https://gitlab.com/dailambda/pyml#b09f7160

Dev Dependencies (1)

  1. odoc with-doc

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.