Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix multiple resolution when hue variable has no name #2462

Merged
merged 5 commits into from
Feb 3, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix typo and remove outdated comment
mwaskom committed Feb 3, 2021
commit ab70c30edaaab180027b3f70052bbc006024c972
2 changes: 1 addition & 1 deletion doc/releases/v0.12.0.txt
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ v0.12.0 (Unreleased)

- |Fix| In :func:`histplot` and :func:`kdeplot`, fixed a bug where the `alpha` parameter was ignored when `fill=False` (:pr:`2460`).

- |Fix| In :func:`histplot` and :func:`kdeplot`, fixed a bug where the `multiple` was ignored when `hue` was provided a vector without a name (:pr:`2462`).
- |Fix| In :func:`histplot` and :func:`kdeplot`, fixed a bug where the `multiple` was ignored when `hue` was provided as a vector without a name (:pr:`2462`).

- |Defaults| In :func:`displot`, the default alpha value now adjusts to a provided `multiple` parameter even when `hue` is not assigned (:pr:`2462`).

1 change: 0 additions & 1 deletion seaborn/distributions.py
Original file line number Diff line number Diff line change
@@ -914,7 +914,6 @@ def plot_univariate_density(
sticky_support = []

if fill:
# Note: will need to account for other grouping semantics if added
if multiple == "layer":
default_alpha = .25
else: