8000 boxplot/violinplot orientation-setting API · Issue #13435 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
boxplot/violinplot orientation-setting API #13435
@anntzer

Description

@anntzer

Bug report

Bug summary

Currently, boxplot(), bxp(), violin(), and violinplot() take a vert: bool argument to switch between vertical and horizontal; this is inconsistent with colorbar(), hist(), eventplot(), and Slider(), which take an orientation: {"vertical", "horizontal"} argument.

For consistency, I'd suggest adding support for orientation (both because I think colorbar() and hist(), in particular, are probably the most used among all these, and because I like the API better :-)), and later deprecate vert. Thoughts?

attn @phobson who has been involved in boxplots, IIRC.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0