Skip to content

Set y label background color for some condition is true #72

@mikezang

Description

@mikezang

I want to set y lable background color when condition is true, I did it when I plot bar chart by code as below:

for tick in ax.get_yticklabels():
    if tick.get_text() in constants.greyLabels:
        tick.set_backgroundcolor('lightgrey')

Can I do it in bar_chart_race?
LableBackgroundColor

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions