Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mikezang opened this issue Sep 3, 2023 · 0 comments
Open

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

mikezang opened this issue Sep 3, 2023 · 0 comments

Comments

@mikezang
Copy link

mikezang commented Sep 3, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant