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

Tooltip: different formats for same aesthetic Y #579

Closed
OLarionova-HORIS opened this issue Aug 2, 2022 · 1 comment
Closed

Tooltip: different formats for same aesthetic Y #579

OLarionova-HORIS opened this issue Aug 2, 2022 · 1 comment
Assignees

Comments

@OLarionova-HORIS
Copy link
Collaborator

boxplot example - values in outlier tooltips are formatted in the exponential notation:
Screenshot 2022-08-02 at 12 34 43

Simplified:

data = {
    "alphabet": ["a","a","b","a","a","a","b","b","b","a","a","a"],
    "coeff": [
        0.9898989898989898, 0.98989898989899, 0.9871794871794872,
        0.9916666666666667, 0.9882352941176471, 0.9947368421052631,
        0.9916666666666667, 0.9882352941176471, 0.9947368421052631,
        0.9916666666666667, 0.9882352941176471, 0.9947368421052631
     ]
}
ggplot(data) + geom_boxplot(aes("alphabet", "coeff"))
@IKupriyanov-HORIS IKupriyanov-HORIS changed the title Wrong formatting in tooltips: exponential notation for positionals Tooltip: different formats for same aesthetic Y Aug 2, 2022
@alshan alshan added this to the 2022Q3 milestone Aug 15, 2022
IKupriyanov-HORIS added a commit that referenced this issue Sep 21, 2022
@alshan alshan modified the milestones: 2022Q3, 2022Q4 Sep 28, 2022
@alshan alshan assigned alshan and unassigned OLarionova-HORIS Sep 28, 2022
@alshan
Copy link
Collaborator

alshan commented Oct 6, 2022

image
Probably related. (formatting_axes_etc.ipynb)

alshan added a commit that referenced this issue Oct 14, 2022
alshan added a commit that referenced this issue Oct 15, 2022
Store formatters in PlotContext.
This fixes 2nd part of #579 (Tooltip: different formats for same aesthetic Y:) which is related to tooltips for constants.
@alshan alshan closed this as completed Oct 15, 2022
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

3 participants