-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
x_estimator bars now inherit scatter_kws alpha #2540
Conversation
x_estimator error bars were previously always opaque, but now inherit alpha settings from scatterplot settings, since the error bars replace the scatterplot
Codecov Report
@@ Coverage Diff @@
## master #2540 +/- ##
==========================================
- Coverage 97.45% 97.43% -0.02%
==========================================
Files 17 17
Lines 6325 6327 +2
==========================================
+ Hits 6164 6165 +1
- Misses 161 162 +1
Continue to review full report at Codecov.
|
👍 on the change; it would be good to cover this line in the tests though. I think adding a simple sub-case to this function should do it. Also I edited your summary text to use github's (somewhat restricted) vernacular for linking issues such that they auto-close when the PR is merged. |
Agreed on testing. What's the correct variable to check to confirm that the error bars have the desired transparency? Would it still be |
Hm that test shouldn't be accessing those private attributes ... but also the error bars will be in the |
@milo-trujillo let me know if you need help putting a test together ... I think the basic idea is something like this:
|
Closes #2540 by adding a test.
* x_estimator bars now inherit scatter_kws alpha x_estimator error bars were previously always opaque, but now inherit alpha settings from scatterplot settings, since the error bars replace the scatterplot * Inherit errorbar alpha from scatter points in regplot Closes #2540 by adding a test. Co-authored-by: Milo Trujillo <[email protected]>
x_estimator error bars were previously always opaque, but now inherit alpha parameter from scatterplot settings (if present), since the error bars replace the scatterplot.
Fixes #2538