Skip to content

Commit e18d19f

Browse files
committed
formatting
1 parent debf429 commit e18d19f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gridfm_datakit/utils/stats.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ def compute_stats_from_data(
179179
.set_index("scenario")["bus"]
180180
.reindex(scenarios)
181181
)
182-
183182

184183
# ---4) Runtime data (optional) ---
185184
if has_runtime:
@@ -486,7 +485,8 @@ def plot_feature_distributions(
486485
fig, ax = plt.subplots(figsize=(15, 6))
487486

488487
bus_data = [
489-
bus_groups.get_group(bus)[feature_name].dropna().values for bus in sorted_buses
488+
bus_groups.get_group(bus)[feature_name].dropna().values
489+
for bus in sorted_buses
490490
]
491491

492492
parts = ax.violinplot(bus_data, showmeans=True)

0 commit comments

Comments
 (0)