JuliaPlots / StatsMakie.jl

Statistical visualizations based on high performance plotting package Makie
Other
48 stars 10 forks source link

categorical x labels not displayed for grouped variables #79

Open HAMdetector opened 5 years ago

HAMdetector commented 5 years ago

Not sure if a bug or intended behaviour.

using Makie, StatsMakie

group = ["a", "b", "a", "b", "a"]
x = ["x1", "x1", "x1", "x2", "x2"]
y = [1, 1.1, 1.2, 2, 2.1]

scatter(x, y) # shows correct x labels "x1" and "x2"
scatter(Group(group), x, y) # shows numeric x labels
SimonDanisch commented 5 years ago

I think StatsMakie doesn't "know" yet, that this is possible now ;)

sethaxen commented 4 years ago

This looks like the same MultiplePlot issue that showed up in #106 .