Replay UI: Fix zip issue (#29384)

Update ui_helpers.py

resolves https://github.com/commaai/openpilot/issues/29383
old-commit-hash: 783bb1f878a4b8f2d2902c053a9b7cc9e1ea1b8e
This commit is contained in:
Justin Newberry
2023-08-13 22:55:59 -07:00
committed by GitHub
parent e603ff3427
commit 8e91f98da5

View File

@@ -161,7 +161,7 @@ def init_plots(arr, name_to_arr_idx, plot_xlims, plot_ylims, plot_names, plot_co
idxs.append(name_to_arr_idx[item])
plot_select.append(i)
axs[i].set_title(", ".join(f"{nm} ({cl})"
for (nm, cl) in zip(pl_list, plot_colors[i], strict=True)), fontsize=10)
for (nm, cl) in zip(pl_list, plot_colors[i], strict=False)), fontsize=10)
axs[i].tick_params(axis="x", colors="white")
axs[i].tick_params(axis="y", colors="white")
axs[i].title.set_color("white")