JetBrains / lets-plot

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

is_discrete: a rounding error. #135

Closed alshan closed 4 years ago

alshan commented 4 years ago

See geom_smooth.ipynb

A rounding error occurs when using 'is_discrete'. However, its not clear whether this is caused by 'is_discrete' or not.

image

alshan commented 4 years ago

I've patched DataProcessing (https://github.com/JetBrains/lets-plot/commit/e7c5ca7e5f7a4211fe8c9cf6227b2f2ecfbde33f).

Needs further investigation:

IKupriyanov-HORIS commented 4 years ago

Fixed rounding error, but color scales issue is not related with as_discrete function and requires separate issue: image