Gadfly label coloring

How to color the labels with the color of the dots?

Gadfly.plot([1 2 "a";3 4 "b"; 3 2 "c"], x=Gadfly.Col.value(1), y=Gadfly.Col.value(2), label=Gadfly.Col.value(3), color=Gadfly.Col.value(3), Gadfly.Geom.point, Gadfly.Geom.label, Gadfly.Theme(highlight_width=0Gadfly.pt, point_label_font_size=18Gadfly.pt))

this does not work

Gadfly.plot([1 2 "a";3 4 "b"; 3 2 "c"], x=Gadfly.Col.value(1), y=Gadfly.Col.value(2), label=Gadfly.Col.value(3), color=Gadfly.Col.value(3), color_label=Gadfly.Col.value(3), Gadfly.Geom.point, Gadfly.Geom.label, Gadfly.Theme(highlight_width=0Gadfly.pt, point_label_font_size=18Gadfly.pt))

Yes this is an outstanding issue: Feature request: enable color aesthetic on Geom.label · Issue #638 · GiovineItalia/Gadfly.jl · GitHub

Also please read the PSA about quoting your code (which makes it readable):

1 Like

Any update on this issue?