Skip to content

Commit

Permalink
Update docs/examples/snow-detection/snow-mode.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cwhanse authored Sep 10, 2024
1 parent be3eef5 commit fff5452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/snow-detection/snow-mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ def wrapper(voltage, current, temp_cell, effective_irradiance,
handles.append(measured_line)
handles.append(modeled_line)

for i in [-1, 0, 1, 2, 3, 4]: # modes
for i in [-1, 0, 1, 2, 3, 4]: # modes
color_idx = i + 1
my_patch = mpatches.Patch(color=cmap.colors[color_idx], label=f'Mode {i}',
alpha=alpha)
Expand Down

0 comments on commit fff5452

Please sign in to comment.