Skip to content

Commit

Permalink
PEP8
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaskom committed Apr 24, 2020
1 parent fe4052f commit 2af6cda
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions seaborn/axisgrid.py
Expand Up @@ -400,12 +400,10 @@ def __init__(self, data, row=None, col=None, hue=None, col_wrap=None,
When using seaborn functions that infer semantic mappings from a
dataset, care must be taken to synchronize those mappings across
facets. In other words some mechanism needs to ensure that the same
mapping is used in each facet. This can be achieved for example by
passing pallete dictionnaries or by defining categorical types
in your dataframe. In most cases, it will be better to use a figure-level
function (e.g. :func:`relplot` or :func:`catplot`) than to use
:class:`FacetGrid` directly.
facets (e.g., by defing the ``hue`` mapping with a palette dict or
setting the data type of the variables to ``category``). In most cases,
it will be better to use a figure-level function (e.g. :func:`relplot`
or :func:`catplot`) than to use :class:`FacetGrid` directly.
The basic workflow is to initialize the :class:`FacetGrid` object with
the dataset and the variables that are used to structure the grid. Then
Expand Down

0 comments on commit 2af6cda

Please sign in to comment.