From 6d471f250eda06ddf8d55f703e52d4fd3f9e9f63 Mon Sep 17 00:00:00 2001 From: ooooo <3164076421@qq.com> Date: Thu, 15 Feb 2024 16:57:42 +0800 Subject: [PATCH] DOC: fix SA05 errors in docstrings for pandas.plotting.bootstrap_plot,pandas.plotting.radviz --- ci/code_checks.sh | 4 +--- pandas/plotting/_misc.py | 7 ++++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 5eae5c6b60c17..35383ca526269 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -1871,9 +1871,7 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.core.groupby.SeriesGroupBy.first\ pandas.core.groupby.SeriesGroupBy.last\ pandas.core.window.expanding.Expanding.aggregate\ - pandas.core.window.rolling.Rolling.aggregate\ - pandas.plotting.bootstrap_plot\ - pandas.plotting.radviz # There should be no backslash in the final line, please keep this comment in the last ignored function + pandas.core.window.rolling.Rolling.aggregate # There should be no backslash in the final line, please keep this comment in the last ignored function RET=$(($RET + $?)) ; echo $MSG "DONE" fi diff --git a/pandas/plotting/_misc.py b/pandas/plotting/_misc.py index eb2d12e588b8f..16192fda07bad 100644 --- a/pandas/plotting/_misc.py +++ b/pandas/plotting/_misc.py @@ -278,10 +278,11 @@ def radviz( Returns ------- :class:`matplotlib.axes.Axes` + The Axes object from Matplotlib. See Also -------- - pandas.plotting.andrews_curves : Plot clustering visualization. + plotting.andrews_curves : Plot clustering visualization. Examples -------- @@ -431,8 +432,8 @@ def bootstrap_plot( See Also -------- - pandas.DataFrame.plot : Basic plotting for DataFrame objects. - pandas.Series.plot : Basic plotting for Series objects. + DataFrame.plot : Basic plotting for DataFrame objects. + Series.plot : Basic plotting for Series objects. Examples --------