ЛР 3 — БВТ2301 — Сафронов — на 5, трек 1 #6

Closed
ricoroma wants to merge 127 commits from ricoroma/mtusi2026lab3-safronov:solution/bvt2301-safronov into main
Showing only changes of commit 68eef77119 - Show all commits
+4 -2
View File
@@ -691,12 +691,14 @@ def plot_rstar(labels: list[dict[str, Any]], title: str) -> str:
+ (f", эффективность {eff:.2f}" if eff is not None else ""), + (f", эффективность {eff:.2f}" if eff is not None else ""),
) )
if points: if points:
# подпись конца линии — над точкой: справа стоят точки серии a
k, c = points[-1] k, c = points[-1]
svg.text( svg.text(
sx(k) + 10, sx(k),
sy(c["r_star"]) + 4, sy(max(c["r_stars"])) - 10,
f"{c['r_star']:.0f}", f"{c['r_star']:.0f}",
color=INK, color=INK,
anchor="middle",
) )
legend.append((color, "серия b: k × 1 CPU", "line")) legend.append((color, "серия b: k × 1 CPU", "line"))
if sat and sat["k_sat"]: if sat and sat["k_sat"]: