gEconpy.plotting.plot_acf#
- gEconpy.plotting.plot_acf(acorr, vars_to_plot=None, figsize=(14, 4), dpi=100, n_cols=4)#
Plot the autocorrelation function for a set of variables.
- Parameters:
- acorr_matrix: DataArray
Tensor of correlations.
- vars_to_plot: list of str, optional
List of variables to plot. If not provided, all variables in acorr_matrix will be plotted.
- figsize: tuple, optional
Figure size in inches.
- dpi: int, optional
Figure resolution in dots per inch.
- n_cols: int, optional
Number of columns in the subplot grid.
- Returns:
matplotlib.figure.FigureFigure object containing the plots.