From de65f6658b2587397e12bbd965ad7230972a916c Mon Sep 17 00:00:00 2001 From: tuhinsharma121 Date: Sun, 2 Jun 2024 22:31:48 +0530 Subject: [PATCH] DOC: fix RT03,SA01 for pandas.plotting.autocorrelation_plot --- ci/code_checks.sh | 1 - pandas/plotting/_misc.py | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 230b4d3daf243..fa2b836bb4a30 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -475,7 +475,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.pivot PR07" \ -i "pandas.pivot_table PR07" \ -i "pandas.plotting.andrews_curves RT03,SA01" \ - -i "pandas.plotting.autocorrelation_plot RT03,SA01" \ -i "pandas.plotting.lag_plot RT03,SA01" \ -i "pandas.plotting.parallel_coordinates PR07,RT03,SA01" \ -i "pandas.plotting.scatter_matrix PR07,SA01" \ diff --git a/pandas/plotting/_misc.py b/pandas/plotting/_misc.py index d79bb7152e6b4..8f30c961fc284 100644 --- a/pandas/plotting/_misc.py +++ b/pandas/plotting/_misc.py @@ -591,6 +591,12 @@ def autocorrelation_plot(series: Series, ax: Axes | None = None, **kwargs) -> Ax Returns ------- matplotlib.axes.Axes + The matplotlib axes containing the autocorrelation plot. + + See Also + -------- + Series.autocorr : Compute the lag-N autocorrelation for a Series. + plotting.lag_plot : Lag plot for time series. Examples --------