Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Labels
Milestone
Description
Summary
From#29072.bar()
supports
color
: color or list of coloredgecolor
: color or list of colorfacecolor
: color
i.e.
facecolor
cannot take a sequence- there are no plural aliase (e.g.
edgecolors
) - likely (t.b.c.) the aliases also do not support sequences, similar to[ENH]: Expand
hist()
signature to support aliases and plural kwargs #28884
Proposed fix
Makefacecolor
accept sequences and check that the parameter precedence amongcolor
,edgecolor
andfacecolor
is reasonable and comparable withscatter
, which can take an explicit color viac
(equivalent tocolor
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.