From 946bf5fe7599baa1f7463d7ce7dc8c52658b3d7a Mon Sep 17 00:00:00 2001 From: Anish Karthik <89824626+anishfish2@users.noreply.github.com> Date: Mon, 27 May 2024 05:42:13 -0400 Subject: [PATCH 1/4] Updated See Also for pandas.Dataframe.plot - S01 --- ci/code_checks.sh | 2 +- pandas/plotting/_core.py | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index a93e23a0f5022..c059e5ab86fb2 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -74,7 +74,7 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.DataFrame.mean RT03,SA01" \ -i "pandas.DataFrame.median RT03,SA01" \ -i "pandas.DataFrame.min RT03" \ - -i "pandas.DataFrame.plot PR02,SA01" \ + -i "pandas.DataFrame.plot PR02" \ -i "pandas.Grouper PR02" \ -i "pandas.MultiIndex PR01" \ -i "pandas.MultiIndex.append PR07,SA01" \ diff --git a/pandas/plotting/_core.py b/pandas/plotting/_core.py index ea5daf02b7252..c83985917591c 100644 --- a/pandas/plotting/_core.py +++ b/pandas/plotting/_core.py @@ -791,6 +791,21 @@ class PlotAccessor(PandasObject): If the backend is not the default matplotlib one, the return value will be the object returned by the backend. + See Also + -------- + matplotlib.pyplot.plot : Plot y versus x as lines and/or markers. + DataFrame.hist : Make a histogram. + DataFrame.boxplot : Make a box plot. + DataFrame.plot.scatter : Make a scatter plot with varying marker + point size and color. + DataFrame.plot.hexbin : Make a hexagonal binning plot of + two variables. + DataFrame.plot.kde : Make Kernel Density Estimate plot using + Gaussian kernels. + DataFrame.plot.area : Make a stacked area plot. + DataFrame.plot.bar : Make a bar plot. + DataFrame.plot.barh : Make a horizontal bar plot. + Notes ----- - See matplotlib documentation online for more on this subject From e0c3f2526857fca5f952803374321079da8dbe7c Mon Sep 17 00:00:00 2001 From: Anish Karthik <89824626+anishfish2@users.noreply.github.com> Date: Mon, 27 May 2024 06:11:28 -0400 Subject: [PATCH 2/4] Updating pandas.Series.plot to pass SA01 docstring test --- ci/code_checks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index c059e5ab86fb2..1acbbced69e83 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -172,7 +172,7 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.Series.lt SA01" \ -i "pandas.Series.ne SA01" \ -i "pandas.Series.pad PR01,SA01" \ - -i "pandas.Series.plot PR02,SA01" \ + -i "pandas.Series.plot PR02" \ -i "pandas.Series.pop RT03,SA01" \ -i "pandas.Series.prod RT03" \ -i "pandas.Series.product RT03" \ From b94677a4bac04d2c9c23e8991c85c9ac8f7be5d8 Mon Sep 17 00:00:00 2001 From: Anish Karthik <89824626+anishfish2@users.noreply.github.com> Date: Mon, 27 May 2024 06:12:25 -0400 Subject: [PATCH 3/4] Updating pandas.core.groupby.DataFrameGroupBy.plot to pass SA01 docstring test --- ci/code_checks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 1acbbced69e83..2ee951f65b6b4 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -367,7 +367,7 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.core.groupby.DataFrameGroupBy.nth PR02" \ -i "pandas.core.groupby.DataFrameGroupBy.nunique SA01" \ -i "pandas.core.groupby.DataFrameGroupBy.ohlc SA01" \ - -i "pandas.core.groupby.DataFrameGroupBy.plot PR02,SA01" \ + -i "pandas.core.groupby.DataFrameGroupBy.plot PR02" \ -i "pandas.core.groupby.DataFrameGroupBy.prod SA01" \ -i "pandas.core.groupby.DataFrameGroupBy.sem SA01" \ -i "pandas.core.groupby.DataFrameGroupBy.sum SA01" \ From 8aabaa0731ce4b0975cf0558ae465e5d9f9c9f1f Mon Sep 17 00:00:00 2001 From: Anish Karthik <89824626+anishfish2@users.noreply.github.com> Date: Mon, 27 May 2024 06:13:11 -0400 Subject: [PATCH 4/4] Updating pandas.core.groupby.SeriesGroupBy.plot to pass SA01 docstring test --- ci/code_checks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 2ee951f65b6b4..3c06d5896d8c1 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -385,7 +385,7 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.core.groupby.SeriesGroupBy.min SA01" \ -i "pandas.core.groupby.SeriesGroupBy.nth PR02" \ -i "pandas.core.groupby.SeriesGroupBy.ohlc SA01" \ - -i "pandas.core.groupby.SeriesGroupBy.plot PR02,SA01" \ + -i "pandas.core.groupby.SeriesGroupBy.plot PR02" \ -i "pandas.core.groupby.SeriesGroupBy.prod SA01" \ -i "pandas.core.groupby.SeriesGroupBy.sem SA01" \ -i "pandas.core.groupby.SeriesGroupBy.sum SA01" \