JetBrains / lets-plot-kotlin

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

Axis scales are not automatically configured when using `geomABLine()` #218

Closed AndreiKingsley closed 1 year ago

AndreiKingsley commented 1 year ago
image
alshan commented 1 year ago

This is expected behavior due to boundless nature of this geom. See geom_abline details: https://ggplot2.tidyverse.org/reference/geom_abline.html#details

devcrocod commented 1 year ago

Can abLine be an independent plot? I mean a real use case, where abLineis used without being tied to other plots (their scales)

alshan commented 1 year ago

Sure but in this case you will specify the geometry bounds explicitly via limits.