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

Bad default formatting for stat variables #654

Closed
OLarionova-HORIS opened this issue Dec 14, 2022 · 1 comment
Closed

Bad default formatting for stat variables #654

OLarionova-HORIS opened this issue Dec 14, 2022 · 1 comment
Assignees
Milestone

Comments

@OLarionova-HORIS
Copy link
Collaborator

Appears in tooltips:

tooltips=layer_tooltips(['..prop..', '..proppct..'])) 

Screenshot 2022-12-14 at 19 22 58

The same - with annotations:

labels=layer_labels().line('@{..count..}').line('(@{..prop..})')

Screenshot 2022-12-14 at 19 27 02

@alshan alshan added this to the 2023Q1 milestone Dec 28, 2022
@OLarionova-HORIS OLarionova-HORIS self-assigned this Mar 16, 2023
@OLarionova-HORIS
Copy link
Collaborator Author

Fixed: a418533
Variables use the following formatting patterns by default:

..prop.. : ".2f"
..proppct.. :  "{.1f} %"

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

2 participants