-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Legacy plot titles don't change when they should.
In the below example, the title never changes from the initial sym
import deephaven.plot.express as dx
from deephaven.plot.figure import Figure
stocks = dx.data.stocks()
syms = stocks.view("Sym").select_distinct("Sym")
@ui.component
def plot_with_title():
sym, set_sym = ui.use_state("LIZARD")
picker = ui.picker(syms, selected_key=sym, on_change=set_sym)
plot_line = (
Figure()
.plot_xy(series_name="Price", t=stocks, x="Timestamp", y="Price")
.figure_title(f"Price of {sym}")
.show()
)
return [picker, plot_line]
test = plot_with_title()

Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working