novem-code / novem-python

python command-line interface for interacting with the novem.no data visualisation platform
Other
2 stars 3 forks source link

Add `.custom.css` and `custom.js` endpoint for writing code #43

Closed sondove closed 1 month ago

sondove commented 1 month ago

There is no easy way of adding custom js and css to the current python Plot object. I suggest adding a new plt.custom.js and plt.custom.css properties that can be written to.

If the plot is not of type custom the assignment should probably fail