Skip to content

Commit

Permalink
fix: redraw plots on toggling dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Jhsmit committed Nov 7, 2024
1 parent c5a48ed commit fb42ed8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion dont_fret/web/bursts/components.py
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,13 @@ def redraw():

figure_task = solara.lab.use_task( # type: ignore
redraw,
dependencies=[burst_node.id, plot_settings.value, file_store.items, state.filters.items],
dependencies=[
burst_node.id,
plot_settings.value,
file_store.items,
state.filters.items,
dark_effective,
],
)

with solara.Card():
Expand Down

0 comments on commit fb42ed8

Please sign in to comment.