Skip to content

Commit 53d083f

Browse files
committed
sort actuals in algorithm test before plotting
1 parent 5e7d7ad commit 53d083f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/algorithm.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ def plotresults(act, exp, ph, region):
119119
box_lon = [coord["lon"] for coord in region]
120120
box_lat = [coord["lat"] for coord in region]
121121

122+
# Sort Results by Time
123+
act = act.sort_values(by=['delta_time'])
124+
122125
# Create Plot
123126
fig = plt.figure(num=None, figsize=(16, 10))
124127

0 commit comments

Comments
 (0)