From 05066e0ebd27fa974744fad3ba58b98a870059ec Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Tue, 12 Jul 2022 21:55:36 +1000 Subject: [PATCH] docs: Fix a few typos (#2887) There are small typos in: - seaborn/_core/plot.py - seaborn/axisgrid.py Fixes: - Should read `transforms` rather than `tranforms`. - Should read `joint` rather than `jount`. - Should read `disabled` rather than `disabeled`. --- seaborn/_core/plot.py | 4 ++-- seaborn/axisgrid.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/seaborn/_core/plot.py b/seaborn/_core/plot.py index 357601e72e..e42a201e8a 100644 --- a/seaborn/_core/plot.py +++ b/seaborn/_core/plot.py @@ -411,7 +411,7 @@ def pair( # TODO would like to add transpose=True, which would then draw # Plot(x=...).pair(y=[...]) across the rows # This may also be possible by setting `wrap=1`, although currently the axes - # are shared and the interior labels are disabeled (this is a bug either way) + # are shared and the interior labels are disabled (this is a bug either way) pair_spec: PairSpec = {} @@ -916,7 +916,7 @@ def _transform_coords(self, p: Plot, common: PlotData, layers: list[Layer]) -> N self._scales[var] = scale._setup(var_df[var], prop) # Set up an empty series to receive the transformed values. - # We need this to handle piecemeal tranforms of categories -> floats. + # We need this to handle piecemeal transforms of categories -> floats. transformed_data = [] for layer in layers: index = layer["data"].frame.index diff --git a/seaborn/axisgrid.py b/seaborn/axisgrid.py index d5e2109b3e..3bb74f07fd 100644 --- a/seaborn/axisgrid.py +++ b/seaborn/axisgrid.py @@ -2216,7 +2216,7 @@ def jointplot( elif kind.startswith("hist"): # TODO process pair parameters for bins, etc. and pass - # to both jount and marginal plots + # to both joint and marginal plots joint_kws.setdefault("color", color) grid.plot_joint(histplot, **joint_kws)