Skip to content

Commit

Permalink
docs: Fix a few typos (#2887)
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
timgates42 authored Jul 12, 2022
1 parent 17f44b5 commit 05066e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions seaborn/_core/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion seaborn/axisgrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 05066e0

Please sign in to comment.