act.plotting.XSectionDisplay.group_by#
- XSectionDisplay.group_by(units)#
Group the Display by specific units of time.
- Parameters:
units (str) – One of: ‘year’, ‘month’, ‘day’, ‘hour’, ‘minute’, ‘second’. Group the plot by this unit of time (year, month, etc.)
- Returns:
groupby (act.plotting.DisplayGroupby) – The DisplayGroupby object to be retuned.