Skip to content

Commit b593c73

Browse files
committed
simplify setting title suffix when cutting series in SplitHydroYears()
1 parent 1e610a6 commit b593c73

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

source/Classes/TimeSeries.vb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -847,8 +847,7 @@ Public Class TimeSeries
847847
t_end = ts.Dates(ts.IndexOfDate(t_end, TimeDirection.Before))
848848
End If
849849
End If
850-
ts.Cut(t_start, t_end)
851-
ts.Title &= $" ({year})"
850+
ts.Cut(t_start, t_end, titleSuffix:=$" ({year})")
852851
tsDict.Add(year, ts)
853852
Next
854853

0 commit comments

Comments
 (0)