scicloj / clay

A tiny Clojure tool for dynamic workflow of data visualization and literate programming
https://scicloj.github.io/clay/
Eclipse Public License 1.0
121 stars 12 forks source link

Add support for plotly layout and config #89

Closed roterski closed 6 months ago

roterski commented 6 months ago

Hello everyone! :wave:

Plotly.newPlot(graphDiv, data, layout, config) takes 2 optional arguments layout and config but it wasn't possible to pass them from Clay before this change.

Now layout and config can be optionally specified so more plotly features are supported e.g. adding a title to a chart: Screenshot 2024-03-16 at 10 46 09

PS. I've just discovered Clay and it has been awesome! Thank you so much for it!

daslu commented 6 months ago

@roterski wonderful, many thanks for this contribution!