lets-plot icon indicating copy to clipboard operation
lets-plot copied to clipboard

ggmarginal(): broken coloring

Open ASmirnov-HORIS opened this issue 2 years ago • 0 comments

Minimal example:

data = {
    'x': [0, 1, 1, 1],
    'y': [0, 1, 2, 2],
}
ggplot(data, aes("x", "y")) + \
    geom_bin2d() + \
    ggmarginal("t", layer=geom_point(aes(color='..count..'), stat='count', size=10)) + \
    ggmarginal("r", layer=geom_point(aes(color='..count..'), stat='count', size=10, orientation='y'))

Output:

ASmirnov-HORIS avatar Apr 11 '23 13:04 ASmirnov-HORIS