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

`ggmarginal`: bottom `boxplot` is broken #1189

Closed ASmirnov-HORIS closed 1 month ago

ASmirnov-HORIS commented 2 months ago

Example:

data = {
    "x": [0, 0, 1, 1, 1, 2],
    "y": [0, 0, 2, 2, 2, 1],
}
ggplot(data, aes("x", "y")) + \
    geom_point() + \
    ggmarginal("trbl", layer=geom_violin(color='blue', fill='blue', alpha=.1)) + \
    ggmarginal("trbl", layer=geom_boxplot(color='red', fill='red', alpha=.1))


Note: Worked in 4.2.0.

alshan commented 2 months ago

Blamed commit: https://github.com/JetBrains/lets-plot/commit/4ac81f69b493e36303ddb1edc899b0dbf36261fa