Skip to content

how to get decimal point data displayed in bar chart race? #55

@jzhangai

Description

@jzhangai

Describe the bug
Hi Jack, I'm trying to plot some decimal point data, but the mp4 or gif always display the number (next to the bars) in integer format, is there a way to solve this?

e.g. When I plot fertility rate data, the actual value is 1.56, but the number gets rounded, and gets displayed as 2 which could be misleading.

Is there a setting in pandas_alive.animate_multiple_plots() function that can tune this?

thanks

Screenshots
test

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions