Atomatically switch theme plots in jupyterlab


Is there a way to detect the change of juypter theme and atomatically switch the plotly theme?
E.g. for Light Jupyterlab Theme → plotly_white and for Dark Jupyterlab Theme → plotly_dark

I would like to avoid doing this manually:



Hi @silviuuv,

i mentioned this topic some time ago already, see here

check the github link regarding this issue

Greetings, Alex -