package matplotlib
Not available on OCaml 5.5Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=a08efaf79f9d8d4284d35ada560aae7f
sha512=e345241f891fd3fd3e61b7161ba9df9f9e174f20781021e662481b01de4fcfef34ce0e85e63144088ae11417c878816a235e4fd7478559b60f0d5f18a5911253
Description
This provides bindings to Matplotlib for various types of plots using pyml to interface with python.
Added to opam-repository:
README
ocaml-matplotlib
Plotting for ocaml using matplotlib pyplot and object-orient apis.
Use in Jupyter notebooks
To use in an ocaml jupyter notebook, you can add the following in you jupyter init script, or in a notebook cell.
open Matplotlib;;
let plot () =
let data = Mpl.plot_data `png in
ignore (Jupyter_notebook.display ~base64:true "image/png" data);;
let () =
Mpl.set_backend Agg;
Mpl.style_use "ggplot"
;;Using plot in the notebook then flushes the current picture and displays it (no need for a temporary file, everything is in memory).
Dependencies (5)
Dev Dependencies
None
Optional Dependencies
None
Used by
None
Conflicts
None
Build status
Results of building matplotlib with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 0.2 (this version) | good | n/a | good | n/a | n/a |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure