JetBrains / lets-plot

Multiplatform plotting library based on the Grammar of Graphics
https://lets-plot.org
MIT License
1.57k stars 51 forks source link

Display integer values without fractional part in tooltips #1186

Open IKupriyanov-HORIS opened 2 months ago

IKupriyanov-HORIS commented 2 months ago
from lets_plot import *
LetsPlot.setup_html()

d = {
    'l': [3],
}
ggplot(d, aes(color='l')) + geom_point() + ggsize(300, 200)

image

from lets_plot import *
LetsPlot.setup_html()

d = {
    'l': [3_000_000],
}
ggplot(d, aes(color='l')) + geom_point() + ggsize(300, 200)

image

alshan commented 2 months ago

Maybe related: image

see: https://github.com/JetBrains/lets-plot/issues/1188#issuecomment-2353701572