Black Lives Matter. Please consider donating to Black Girls Code today.

Plotly Themes in Javascript

Hi All,

I’m having to migrate an app we built in Dash (Python) over to a more heavy duty HTML5 app. I was hoping to use Plotly again, as it was great in the Python app. I’ve hit an issue though - we were using the plotly_dark theme in Python and I need to keep the look and feel the same in the javascript app. There doesn’t seem to be a way to set the theme in Javascript though ? I assume I’m missing something really obvious here. Any pointers or tips anyone could offer ?

Thanks

Ian