Closed PoslavskySV closed 2 years ago
Hi, I don't think it's a bug. The 'text' layer is looking for the 'supp' variable because you have specified mapping group = "supp"
in a block which is applied to the entire plot (all layers).
In this example you can just remove mapping group = "supp"
altogether because geomBoxplot { fill = "supp" }
will do grouping in the 'boxplot' layer anyways.
You can also dispense with x = "dose"
mapping in the 'text' layer because this mapping is already defined earlier.
Understood. Thank you!
Dear Colleagues,
the following grouped box plot example does not work when trying to add text labels to groups:
The error is:
The workaround is to add a "fake"
supp
series ingeomText
. Isn't it a bug?