From 4323c5310c8c0a95aa8286d84c7b538dff2e32a3 Mon Sep 17 00:00:00 2001 From: Hassan Kibirige Date: Sat, 24 Feb 2024 22:54:50 +0300 Subject: [PATCH] DOC: Restore deleted see also description --- plotnine/mapping/aes.py | 9 ++++++--- plotnine/stats/density.py | 4 ++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/plotnine/mapping/aes.py b/plotnine/mapping/aes.py index 41ffbbe3c..4cf766ca2 100644 --- a/plotnine/mapping/aes.py +++ b/plotnine/mapping/aes.py @@ -202,9 +202,12 @@ class aes(Dict[str, Any]): See Also -------- - plotnine.mapping.after_stat - plotnine.mapping.after_scale - plotnine.mapping.stage + plotnine.mapping.after_stat : For how to map aesthetics to variable + calculated by the stat + plotnine.mapping.after_scale : For how to alter aesthetics after the + data has been mapped by the scale. + plotnine.mapping.stage : For how to map to evaluate the mapping to + aesthetics at more than one stage of the plot building pipeline. """ def __init__(self, *args, **kwargs): diff --git a/plotnine/stats/density.py b/plotnine/stats/density.py index d2a08bd2f..b2383d765 100644 --- a/plotnine/stats/density.py +++ b/plotnine/stats/density.py @@ -232,8 +232,8 @@ def get_var_type(col: pd.Series) -> Literal["c", "o", "u"]: See Also -------- - The origin of the character codes is - [](`~statsmodels.nonparametric.kernel_density.KDEMultivariate`). + statsmodels.nonparametric.kernel_density.KDEMultivariate : For the origin + of the character codes. """ if array_kind.continuous(col): return "c"