Skip to content

Commit

Permalink
sort x axis in group_as_matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pietro Vertechi committed Aug 25, 2018
1 parent de3848f commit 937acbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/series.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 937acbc

Please sign in to comment.