Skip to content

Commit 824c102

Browse files
authored
DOC: Fix some typos (#3366)
1 parent 129ce70 commit 824c102

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

doc/_tutorial/color_palettes.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@
855855
"Diverging color palettes\n",
856856
"------------------------\n",
857857
"\n",
858-
"The third class of color palettes is called \"diverging\". These are used for data where both large low and high values are interesting and span a midpoint value (often 0) that should be demphasized. The rules for choosing good diverging palettes are similar to good sequential palettes, except now there should be two dominant hues in the colormap, one at (or near) each pole. It's also important that the starting values are of similar brightness and saturation.\n",
858+
"The third class of color palettes is called \"diverging\". These are used for data where both large low and high values are interesting and span a midpoint value (often 0) that should be de-emphasized. The rules for choosing good diverging palettes are similar to good sequential palettes, except now there should be two dominant hues in the colormap, one at (or near) each pole. It's also important that the starting values are of similar brightness and saturation.\n",
859859
"\n",
860860
"Perceptually uniform diverging palettes\n",
861861
"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n",

doc/_tutorial/distributions.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@
708708
"Plotting joint and marginal distributions\n",
709709
"^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",
710710
"\n",
711-
"The first is :func:`jointplot`, which augments a bivariate relatonal or distribution plot with the marginal distributions of the two variables. By default, :func:`jointplot` represents the bivariate distribution using :func:`scatterplot` and the marginal distributions using :func:`histplot`:"
711+
"The first is :func:`jointplot`, which augments a bivariate relational or distribution plot with the marginal distributions of the two variables. By default, :func:`jointplot` represents the bivariate distribution using :func:`scatterplot` and the marginal distributions using :func:`histplot`:"
712712
]
713713
},
714714
{

doc/_tutorial/objects_interface.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@
577577
"id": "295013b3-7d91-4a59-b63b-fe50e642954c",
578578
"metadata": {},
579579
"source": [
580-
"To recap, there are three ways to specify the value of a mark property: (1) by mapping a variable in all layers, (2) by mapping a variable in a specific layer, and (3) by setting the property directy:"
580+
"To recap, there are three ways to specify the value of a mark property: (1) by mapping a variable in all layers, (2) by mapping a variable in a specific layer, and (3) by setting the property directly:"
581581
]
582582
},
583583
{
@@ -1052,7 +1052,7 @@
10521052
"id": "475d5157-5e88-473e-991f-528219ed3744",
10531053
"metadata": {},
10541054
"source": [
1055-
"To change the theme for all :class:`Plot` instances, update the settings in :attr:`Plot.config:"
1055+
"To change the theme for all :class:`Plot` instances, update the settings in :attr:`Plot.config`:"
10561056
]
10571057
},
10581058
{

doc/_tutorial/properties.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"x, y, xmin, xmax, ymin, ymax\n",
4949
"~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n",
5050
"\n",
51-
"Coordinate properties determine where a mark is drawn on a plot. Canonically, the `x` coordinate is the horizontal positon and the `y` coordinate is the vertical position. Some marks accept a span (i.e., `min`, `max`) parameterization for one or both variables. Others may accept `x` and `y` but also use a `baseline` parameter to show a span. The layer's `orient` parameter determines how this works.\n",
51+
"Coordinate properties determine where a mark is drawn on a plot. Canonically, the `x` coordinate is the horizontal position and the `y` coordinate is the vertical position. Some marks accept a span (i.e., `min`, `max`) parameterization for one or both variables. Others may accept `x` and `y` but also use a `baseline` parameter to show a span. The layer's `orient` parameter determines how this works.\n",
5252
"\n",
5353
"If a variable does not contain numeric data, its scale will apply a conversion so that data can be drawn on a screen. For instance, :class:`Nominal` scales assign an integer index to each distinct category, and :class:`Temporal` scales represent dates as the number of days from a reference \"epoch\":"
5454
]
@@ -674,7 +674,7 @@
674674
"linestyle, edgestyle\n",
675675
"~~~~~~~~~~~~~~~~~~~~\n",
676676
"\n",
677-
"The `linestyle` property is relevant to line marks, and the `edgestyle` propety is relevant to a number of marks with \"edges. Both properties determine the \"dashing\" of a line in terms of on-off segments.\n",
677+
"The `linestyle` property is relevant to line marks, and the `edgestyle` property is relevant to a number of marks with \"edges. Both properties determine the \"dashing\" of a line in terms of on-off segments.\n",
678678
"\n",
679679
"Dashes can be specified with a small number of shorthand codes (`'-'`, `'--'`, `'-.'`, and `':'`) or programatically using `(on, off, ...)` tuples. In the tuple specification, the unit is equal to the linewidth:"
680680
]

seaborn/_marks/bar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def _plot(self, split_gen, scales, orient):
183183
@dataclass
184184
class Bars(BarBase):
185185
"""
186-
A faster bar mark with defaults more suitable histograms.
186+
A faster bar mark with defaults more suitable for histograms.
187187
188188
See also
189189
--------

0 commit comments

Comments
 (0)