StatsPlots.jl
StatsPlots.jl copied to clipboard
x-labels in groupedbars are taken as math expressions
The issue shows up under pgfplotsx
MWE
using StatsPlots; pgfplotsx()
xx = repeat(["This is a name","This is another name", "and a 3rd name"], 4)
variable = repeat(["category 1","category 2"], 6)
value = rand(12)
groupedbar(xx, value, group = variable)
Output is
When you open the file in tex, it show that all the names are expressed within "$ $"