From 341786acb5920fbdcf416c15f7cbfa75c7796052 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Tue, 21 Apr 2026 09:53:17 -0700 Subject: [PATCH] jp: fix hidden plots unhiding on interaction (#37870) --- tools/jotpluggler/plot.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/jotpluggler/plot.cc b/tools/jotpluggler/plot.cc index 5d9d64480..b1324713a 100644 --- a/tools/jotpluggler/plot.cc +++ b/tools/jotpluggler/plot.cc @@ -848,7 +848,7 @@ void draw_plot(const AppSession &session, Pane *pane, UiState *state) { } else { for (size_t i = 0; i < prepared_curves.size(); ++i) { const PreparedCurve &curve = prepared_curves[i]; - std::string series_id = curve_legend_label(curve, has_cursor_time, max_legend_label_width) + "##curve" + std::to_string(i); + std::string series_id = curve_legend_label(curve, has_cursor_time, max_legend_label_width) + "###curve" + std::to_string(curve.pane_curve_index); ImPlotSpec spec; spec.LineColor = color_rgb(curve.color); spec.LineWeight = curve.line_weight;