From fcb17a718f6c6fe5f588595fe7f67501bff0da73 Mon Sep 17 00:00:00 2001 From: Clayton Barrows Date: Sat, 28 Sep 2024 13:58:02 -0600 Subject: [PATCH] Update src/plot_network.jl Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- src/plot_network.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plot_network.jl b/src/plot_network.jl index aaab811..465315a 100644 --- a/src/plot_network.jl +++ b/src/plot_network.jl @@ -138,7 +138,7 @@ function plot_lines!(p, sys, line_width) labels = [] for (i, c) in enumerate(components) push!(xy, [fr_xy[i][1] fr_xy[i][2]; to_xy[i][1] to_xy[i][2]; NaN NaN]) - for _ = 1:3 + for _ in 1:3 push!(groups, get_base_voltage(get_from(get_arc(c)))) push!(labels, get_name(c)) end