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

Degrees formatting for angles

Open ASmirnov-HORIS opened this issue 1 year ago • 1 comments

For example:

data = {
    'x': [0, 1],
    'y': [0, 1],
    'a': [0.79, 3.93],
    'r': [.71, .35],
}
ggplot(data, aes('x', 'y')) + \
    geom_spoke(aes(angle='a', radius='r'), \
               tooltips=layer_tooltips().line("angle|^angle")) + \
    coord_fixed()

In this case, it would be nice to be able to apply formatting that replaces the angle in radians with an angle in degrees.

ASmirnov-HORIS avatar Jan 10 '24 13:01 ASmirnov-HORIS

Related - "windrose" formatting: image

alshan avatar Jan 11 '24 16:01 alshan