JetBrains / lets-plot-kotlin

Grammar of Graphics for Kotlin
https://lets-plot.org/kotlin/
MIT License
435 stars 36 forks source link

y scale doesn't work for bars/area #219

Closed AndreiKingsley closed 7 months ago

AndreiKingsley commented 11 months ago
image
IKupriyanov-HORIS commented 8 months ago

Hello, @AndreiKingsley. What specific result were you expecting? This is how ggplot2 works: image

AndreiKingsley commented 8 months ago

I expect that if I set axes limits, the plot will have axes exactly what I set - that's for certain. Regarding the behavior of bars in ggplot - why can't they be cropped?

alshan commented 7 months ago

Fixed by https://github.com/JetBrains/lets-plot/commit/d435488f5b1390632c08abd7c6d10c5700715dee Note however that the proper way to do zooming is to use xlim, ylim in coord system.