Gadfly.jl icon indicating copy to clipboard operation
Gadfly.jl copied to clipboard

Feature request: enable color aesthetic on Geom.label

Open amellnik opened this issue 8 years ago • 7 comments

It's not just that I would like to plot a rainbow mess of emoji, but also that this gives us a way to make simple scatter plots with more than one symbol.

This would break some existing plots that are currently using labels in the same layer as a Geom that uses color like

plot(dataset("ggplot2", "mpg"), x="Cty", y="Hwy", label="Model", color="Drv", Geom.point, Geom.label)

but it could still be done with two layers. If this seems like a good idea I should be able to put together a diff.

amellnik avatar Jul 15 '15 21:07 amellnik

This would be a nice thing to have. My main concern is that text will be illegible with some colors. Maybe the way to go is to add an ignore_color parameter to Geom.label that defaults to true.

dcjones avatar Jul 16 '15 02:07 dcjones

See also https://discourse.julialang.org/t/gadfly-label-coloring/37374

Mattriks avatar Apr 11 '20 00:04 Mattriks

i hope this gets resolved soon.

montyvesselinov avatar Apr 11 '20 02:04 montyvesselinov

I started to look at this, but ran into GiovineItalia/Compose.jl#348 i.e. there's an issue with the fill property for svg text in Compose.

Mattriks avatar May 05 '20 09:05 Mattriks

Any progress on this?!

montyvesselinov avatar Oct 07 '20 04:10 montyvesselinov

I'm wondering the same.

murrellb avatar Mar 01 '21 22:03 murrellb

I'm having the same problem.

gzagatti avatar Mar 19 '21 03:03 gzagatti