Created
June 26, 2019 19:56
-
-
Save mseri/bfe4c7cfb0232b1c991512a0df96a64f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | |
;; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment