4 ms·
In nextjournal you can plot clojure output trivially with plotly or vega-lite. It’s just a matter of adding metadata to your output, like this: ^{:nextjour
by harperlee 5y ago
In nextjournal you can plot clojure output trivially with plotly or vega-lite. It’s just a matter of adding metadata to your output, like this:
^{:nextjournal/viewer :plotly}
{:data [{:x '(0 10 20 30 40)}
{:y '(5 10 15 20 25)}]
:layout {:autosize false :width 800 :height 400
:xaxis1 {:title "year"}
:yaxis1 {:title "revenue"}}}
See the result here:
https://nextjournal.com/kommen/plotting-from-clojure https://nextjournal.com/kommen/plotting-from-clojure
Regarding anglican, here is a link. It’s basically a church port:
https://probprog.github.io/anglican/ https://probprog.github.io/anglican/