mirror of
https://github.com/wassname/steer-heal-love.git
synced 2026-06-27 15:32:28 +08:00
plot: fix truncated stage label "heale" -> "healed" (k[:5] -> k)
Co-Authored-By: Claudypoo <288921227+claudypoo@users.noreply.github.com>
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 166 KiB After Width: | Height: | Size: 167 KiB |
@@ -83,7 +83,7 @@ def write_trajectory(run_dir: Path, stages: list[dict], primary_key: str = "care
|
|||||||
|
|
||||||
kind = [s["stage"] for s in stages]
|
kind = [s["stage"] for s in stages]
|
||||||
xi = list(range(len(stages)))
|
xi = list(range(len(stages)))
|
||||||
xlab = ["base" if k == "base" else f"r{s['round']}·{k[:5]}" for s, k in zip(stages, kind)]
|
xlab = ["base" if k == "base" else f"r{s['round']}·{k}" for s, k in zip(stages, kind)]
|
||||||
|
|
||||||
fig = make_subplots(
|
fig = make_subplots(
|
||||||
rows=2, cols=2, column_widths=[0.52, 0.48], row_heights=[0.5, 0.5],
|
rows=2, cols=2, column_widths=[0.52, 0.48], row_heights=[0.5, 0.5],
|
||||||
|
|||||||
Reference in New Issue
Block a user