Merge pull request #1695 from JuliaPlots/pv/group

RFC WIP: sort x axis in group_as_matrix
This commit is contained in:
Michael Krabbe Borregaard 2018-08-26 22:57:04 +02:00 committed by GitHub
commit 602dbdf1d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -636,7 +636,7 @@ group_as_matrix(t) = false
x = g.args[1]
last_args = g.args[2:end]
end
x_u = unique(x)
x_u = unique(sort(x))
x_ind = Dict(zip(x_u, 1:length(x_u)))
for (key,val) in plotattributes
if splittable_kw(key, val, lengthGroup)