Skip to content

Commit 05066e0

Browse files
authored
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`.
1 parent 17f44b5 commit 05066e0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

seaborn/_core/plot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ def pair(
411411
# TODO would like to add transpose=True, which would then draw
412412
# Plot(x=...).pair(y=[...]) across the rows
413413
# This may also be possible by setting `wrap=1`, although currently the axes
414-
# are shared and the interior labels are disabeled (this is a bug either way)
414+
# are shared and the interior labels are disabled (this is a bug either way)
415415

416416
pair_spec: PairSpec = {}
417417

@@ -916,7 +916,7 @@ def _transform_coords(self, p: Plot, common: PlotData, layers: list[Layer]) -> N
916916
self._scales[var] = scale._setup(var_df[var], prop)
917917

918918
# Set up an empty series to receive the transformed values.
919-
# We need this to handle piecemeal tranforms of categories -> floats.
919+
# We need this to handle piecemeal transforms of categories -> floats.
920920
transformed_data = []
921921
for layer in layers:
922922
index = layer["data"].frame.index

seaborn/axisgrid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2216,7 +2216,7 @@ def jointplot(
22162216
elif kind.startswith("hist"):
22172217

22182218
# TODO process pair parameters for bins, etc. and pass
2219-
# to both jount and marginal plots
2219+
# to both joint and marginal plots
22202220

22212221
joint_kws.setdefault("color", color)
22222222
grid.plot_joint(histplot, **joint_kws)

0 commit comments

Comments
 (0)