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

Avoid error from relplot faceting variable name collision #2581

Merged
merged 2 commits into from
May 11, 2021

Conversation

mwaskom
Copy link
Owner

@mwaskom mwaskom commented May 10, 2021

Fixes #2488

This is a short-term fix and, as mentioned in the original issue, there will hopefully be better overall integration between the plotter objects and the figure-level functions such that the complicated operations that caused (and then fixed) the bug are no longer necessary. But it is a relatively easy fix so might as well put it in for now.

@mwaskom mwaskom force-pushed the fix_relplot_variable_collision branch from 8693331 to ead08dc Compare May 10, 2021 23:11
@codecov
Copy link

codecov bot commented May 10, 2021

Codecov Report

Merging #2581 (f530274) into master (0738bde) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2581   +/-   ##
=======================================
  Coverage   97.44%   97.45%           
=======================================
  Files          17       17           
  Lines        6351     6354    +3     
=======================================
+ Hits         6189     6192    +3     
  Misses        162      162           
Impacted Files Coverage Δ
seaborn/relational.py 99.68% <100.00%> (+<0.01%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0738bde...f530274. Read the comment docs.

@mwaskom mwaskom merged commit f884505 into master May 11, 2021
@mwaskom mwaskom deleted the fix_relplot_variable_collision branch May 11, 2021 19:23
@mwaskom mwaskom modified the milestones: v0.12.0, v0.11.2 Aug 6, 2021
mwaskom added a commit that referenced this pull request Aug 6, 2021
* Avoid error from relplot faceting variable name collision

Fixes #2488

* Make data attribute on output FacetGrid have original column names

(cherry picked from commit f884505)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

relplot gives a cryptic error message with col='size'
1 participant