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

The legend_justification parameter doesn't work if the legend_position='top'

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

Example:

data = {'x': [0, 1], 'y': [0, 1], 'g': ['A', 'B']}
ggplot(data, aes('x', 'y', color='g')) + \
    geom_point() + \
    theme(legend_position='top', legend_justification=[1, 1])

In ggplot2 the similar code gives:

ASmirnov-HORIS avatar Feb 28 '24 17:02 ASmirnov-HORIS