# Gadfly label coloring

**URL:** <https://discourse.julialang.org/t/gadfly-label-coloring/37374>\
**Category:** General Usage\
**Tags:** question, package, plotting, gadfly\
**Created:** [April 10, 2020, 11:50pm UTC](https://discourse.julialang.org/t/gadfly-label-coloring/37374 "2020-04-10T23:50:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![monty](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/monty/32/44234_2.png) [@monty](https://discourse.julialang.org/u/monty)\
**Post date:** [April 10, 2020, 11:50pm UTC](https://discourse.julialang.org/t/gadfly-label-coloring/37374/1 "2020-04-10T23:50:24Z")

</div>

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

```julia
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

```julia
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))

```

---

<div class="post-metadata">

**Author:** ![Mattriks](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mattriks/32/351_2.png) [@Mattriks](https://discourse.julialang.org/u/Mattriks)\
**Post date:** [April 11, 2020, 12:26am UTC](https://discourse.julialang.org/t/gadfly-label-coloring/37374/2 "2020-04-11T00:26:51Z")

</div>

Yes this is an outstanding issue: [Feature request: enable color aesthetic on Geom.label · Issue #638 · GiovineItalia/Gadfly.jl · GitHub](https://github.com/GiovineItalia/Gadfly.jl/issues/638)

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

> [@Please read: make it easier to help you](https://discourse.julialang.org/t/psa-make-it-easier-to-help-you/14757):
>
> Welcome to the Julia Discourse! We are enthusiastic about helping Julia programmers, both beginner and experienced. This public service announcement (PSA) outlines best practices when asking for help. Following these points makes it easier for us to help you and more likely you’ll get a prompt, useful answer. Keywords are highlighted to make it easier to refer to specific points. Choose a descriptive title that captures the key part of your question, eg “plots with multiple axes” instead of …

---

<div class="post-metadata">

**Author:** ![monty](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/monty/32/44234_2.png) [@monty](https://discourse.julialang.org/u/monty)\
**Post date:** [October 7, 2020, 4:46am UTC](https://discourse.julialang.org/t/gadfly-label-coloring/37374/3 "2020-10-07T04:46:21Z")

</div>

Any update on this issue?
