You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG]: create_violin() failure with numpy==2.4.0: TypeError: percentile() got an unexpected keyword argument 'interpolation' #5461
changed the title [-][BUG]: `create_violin()` failure with `numpy==2.24.0`[/-][+][BUG]: `create_violin()` failure with `numpy==2.24.0`: `TypeError: percentile() got an unexpected keyword argument 'interpolation'`[/+]on Jan 8, 2026
changed the title [-][BUG]: `create_violin()` failure with `numpy==2.24.0`: `TypeError: percentile() got an unexpected keyword argument 'interpolation'`[/-][+][BUG]: `create_violin()` failure with `numpy==2.4.0`: `TypeError: percentile() got an unexpected keyword argument 'interpolation'`[/+]on Jan 14, 2026
Hi 👋
I’m interested in working on this issue and would be happy to submit a fix for the numpy==2.4.0 incompatibility in create_violin().
If no one is currently working on it, I’ll start investigating and open a PR soon. Please let me know if there are any preferences or related context I should be aware of before proceeding.
Activity
[-][BUG]: `create_violin()` failure with `numpy==2.24.0`[/-][+][BUG]: `create_violin()` failure with `numpy==2.24.0`: `TypeError: percentile() got an unexpected keyword argument 'interpolation'`[/+]robertclaus commentedon Jan 14, 2026
@mgorny thank you for calling this out. Is this currently blocking you?
We absolutely welcome pull requests for issues like this!
[-][BUG]: `create_violin()` failure with `numpy==2.24.0`: `TypeError: percentile() got an unexpected keyword argument 'interpolation'`[/-][+][BUG]: `create_violin()` failure with `numpy==2.4.0`: `TypeError: percentile() got an unexpected keyword argument 'interpolation'`[/+]mgorny commentedon Jan 14, 2026
Not really, I've just skipped the failing tests in Gentoo for now.
AJSTYLE-lab commentedon Jan 15, 2026
Hi 👋
I’m interested in working on this issue and would be happy to submit a fix for the
numpy==2.4.0incompatibility increate_violin().If no one is currently working on it, I’ll start investigating and open a PR soon. Please let me know if there are any preferences or related context I should be aware of before proceeding.
Thanks!
AJSTYLE-lab commentedon Jan 15, 2026
I found this issue interesting so I have started working on it.
Fix violin plot compatibility with NumPy 2.4+
Fix create_violin() numpy 2.0+ compatibility
Fix create_violin() numpy 2.0+ compatibility