Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[MNT]: More consistent color parameters for bar() #29090

Copy link
Copy link
Closed
@timhoffm

Description

@timhoffm
Issue body actions

Summary

From #29072. bar() supports

  • color : color or list of color
  • edgecolor : color or list of color
  • facecolor: color

i.e.

Proposed fix

Make facecolor accept sequences and check that the parameter precedence among color, edgecolor and facecolor is reasonable and comparable with scatter, which can take an explicit color via c (equivalent to color here).

For now, I'd refrain from introducing plural aliase. bar() is originally and primarily a style-all-bars-identical function. Per-bar styling was added later on, and I don't think there's a strong need to support this additional use case with an added plural alias.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.