environmentaltools.graphics.nonstationary_qq_plot

environmentaltools.graphics.nonstationary_qq_plot(data: DataFrame, var_: str, prob_model: str = 'norm', fname=None)[source]

Draw monthly QQ-plots to assess seasonal distribution changes.

Creates a 3x4 grid of QQ-plots, one for each calendar month, to visualize how the distribution varies throughout the year.

Parameters:
  • data (pd.DataFrame) – Time series with datetime index.

  • var (str) – Name of the variable column to analyze.

  • prob_model (str) – Name of scipy.stats probability distribution. Defaults to ‘norm’.

  • fname (str, optional) – File path to save the plot. If None, displays interactively. Defaults to None.

Returns:

Displays the plot.

Return type:

None

Note

Each subplot shows data for one calendar month. Deviations from the reference line indicate non-normality for that month.