ENH: allow ranges to be set on Styler .bar() · Issue #21526 · pandas-dev/pandas (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@psychemedia

Description

@psychemedia

When generating in table bar charts using the Styler .bar():

One solution would be to allow the setting of explicit bounds on the range of values used to limit the bar extrema using explicit values rather than s.min() and s.max().

Cell values exceeding the range limits could be extending to the cell edge / maximum limit value and then coloured with an "overflow" colour.