diff --git a/ci/code_checks.sh b/ci/code_checks.sh index c0dfbcc03b473..c82924b5028f0 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -86,9 +86,7 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.io.formats.style.Styler.format \ pandas.io.formats.style.Styler.highlight_quantile \ pandas.io.formats.style.Styler.background_gradient \ - pandas.io.formats.style.Styler.text_gradient \ - pandas.DataFrame.plot.hexbin \ - pandas.DataFrame.plot.line + pandas.io.formats.style.Styler.text_gradient RET=$(($RET + $?)) ; echo $MSG "DONE" fi diff --git a/pandas/plotting/_core.py b/pandas/plotting/_core.py index 96609fdc1671b..f95dde948ae65 100644 --- a/pandas/plotting/_core.py +++ b/pandas/plotting/_core.py @@ -1053,9 +1053,9 @@ def __call__(self, *args, **kwargs): over the years. >>> df = pd.DataFrame({ - ... 'pig': [20, 18, 489, 675, 1776], - ... 'horse': [4, 25, 281, 600, 1900] - ... }, index=[1990, 1997, 2003, 2009, 2014]) + ... 'pig': [20, 18, 489, 675, 1776], + ... 'horse': [4, 25, 281, 600, 1900] + ... }, index=[1990, 1997, 2003, 2009, 2014]) >>> lines = df.plot.line() .. plot:: @@ -1828,8 +1828,8 @@ def hexbin( >>> df = pd.DataFrame({ ... 'coord_x': np.random.uniform(-3, 3, size=n), ... 'coord_y': np.random.uniform(30, 50, size=n), - ... 'observations': np.random.randint(1,5, size=n) - ... }) + ... 'observations': np.random.randint(1, 5, size=n) + ... }) >>> ax = df.plot.hexbin(x='coord_x', ... y='coord_y', ... C='observations',