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

map: geom_text vjust="center" is a bit off

Open alshan opened this issue 5 years ago • 0 comments

data = {
    'label': ["==    0 ==>", "==   60 ==>", "==  120 ==>", "==  180 ==>", "== -60 ==>", "== -120 ==>"],
    'angle': [0, 60, 120, 180, -60, -120],
}

p + geom_livemap() + geom_point(x=0, y=0, size=140, color='white', alpha=0.6)\
  + geom_text(aes(label = 'label', angle='angle'), data=data,
              x=0, y=0, 
              hjust = "left", vjust = "center",
              size=10, family='monospace', color='red')

image

Compare to not on the map: image

alshan avatar May 05 '20 23:05 alshan