-
Notifications
You must be signed in to change notification settings - Fork 19
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
MAINT: Fix deprecated seaborn
function calls
#171
base: main
Are you sure you want to change the base?
MAINT: Fix deprecated seaborn
function calls
#171
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #171 +/- ##
==========================================
+ Coverage 66.04% 66.38% +0.33%
==========================================
Files 25 25
Lines 2677 2677
Branches 421 421
==========================================
+ Hits 1768 1777 +9
+ Misses 793 788 -5
+ Partials 116 112 -4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Following the guidance in the gist you linked, I think we want to use histplot
for a couple of these.
faa8a3f
to
e69a319
Compare
Fix deprecated `seaborn` function calls: use `displot` or `histplot` where applicable instead of `distplot`, since the latter will be removed in `seaborn` v0.14.0. Adapt the corresponding calls where necessary adding reasonable keyword argument values. Fixes: ``` This function has been deprecated and will be removed in seaborn v0.14.0. It has been replaced by :func:`histplot` and :func:`displot`, two functions with a modern API and many more capabilities. ``` Documentation: https://gist.github.com/mwaskom/de44147ed2974457ad6372750bbe5751 Co-authored-by: Chris Markiewicz <[email protected]>
e69a319
to
59c1b4d
Compare
@effigies If the requested changes have been addressed, can we please merge this? |
It looks right, but this is untested code, and as far as I can tell, not used anywhere. I'm concerned that we will make changes and only discover bugs when someone starts trying to use it. |
Fix deprecated
seaborn
function calls: usedisplot
orhistplot
where applicable instead ofdistplot
, since the latter will be removed inseaborn
v0.14.0.Adapt the corresponding calls where necessary adding reasonable keyword argument values.
Fixes:
Documentation:
https://gist.github.com/mwaskom/de44147ed2974457ad6372750bbe5751