Closed cleme closed 2 years ago
This is a version with these changes versus the old version. To me, the old version seems much easier to read/understand. @cleme thoughts?
Try lowering the alpha value for the text and increasing it for the dots: that would make them more visible compared to the text.
Went too far with lowering the text alpha here, but I think this shows the problem is actually stemming from using white as our midpoint on a white background. We should pick a new midpoint color(s) or go back to no midpoint.
Agreed. Change palettes to have no white midpoint, since white is background. That should solve the problem of text color.
Lmk any further visual tweaks. This is with text alpha = 0.45
.
:
Good to go.
Describe the bug In PCOA plots, the color of text with
geom_text_repel()
is currently set to the color of the points that are being labelled.To Reproduce Generate summaries of a study. Individual PCOA plots will have labels colored according to the color applied to points.
Expected behavior Label text should have a uniform color.
Screenshots
Proposed solution Change coloring with
geom_text_repel(color="black", alpha=0.6...)
or some other option. Consider if it is more important to have points displayed above text, or text displayed above the points.