This are the core concepts in picasso:
(defprotocol Renderable
(render [self]))
(defmulti paint :type)
Clojure/Clojurescript Data => (render) => Picasso DataStructure => (paint) => Notebook
(defn timeseries-plot
"timeseries-plot creates vega spec for a timeseries plot"
[data]
^{:render-with :p/vega} vega-spec)
[:div [:h1 "demo"]
(timeseries-plot data)]
[:div [:h1 "demo"]
[:p/vega (timeseries-plot data)]]
lein webly watch
Clojure:
lein test
Clojurescript:
lein webly npm-install
lein test-js
:default
picasso:hiccup
picasso:list-alike
picasso (compatibility):html
notebook-ui (needs gorilla-ui):text
notebook-ui (needs gorilla-ui):pinkie
notebook-ui (needs pinkie):reagent
notebook-ui (needs pinkie):goldly
not yet implemented. will be in goldlylein transactor new
creates demo-nb.edn
lein transactor add
adds new code segment to document,and reevaluates notebook.
This code is licensed to you under the MIT licence. See LICENCE.txt for details.
Can you improve this documentation? These fine people already did:
awb99, Andreas Steffan & JonyEpsilonEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close