Skip to content

[ENH]: Expose KDE weights parameter in violinplot #32409

Description

@Galedon1

Problem

I have encountered a situation where the KDE calculation in violinplot can be significantly improved by using precomputed weights (memory overflow crash vs several seconds).
It would help me significantly (I had to write my own implementation) if it was exposed.

Proposed solution

Expose the weights parameter of the scipy.stats.gaussian_kde in violinplot function.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions