depictr.seasonal_plot#

depictr.seasonal_plot(x, period=None, title=None)#

Seasonal subseries plot: value by position in the period, one line per cycle.

Each completed cycle (for example each year of monthly data) is one line, drawn across the within-period position (month 1 to 12). Overlaying the cycles makes the repeating shape and any drift between cycles easy to read.

Parameters:
  • x (pandas.Series or array-like) – The series.

  • period (int, optional) – Seasonal period. Inferred from a monthly/quarterly index when omitted.

  • title (str, optional)

Return type:

plotnine.ggplot