Merge pull request #488 from KristofferC/kc/fix_ticks
fix ticks for pgfplots
This commit is contained in:
commit
0e561e1cd6
@ -229,10 +229,11 @@ function pgf_axis(sp::Subplot, letter)
|
||||
end
|
||||
|
||||
if !(axis[:ticks] in (nothing, false, :none, :auto))
|
||||
push!(style, "$(letter)"*"tick = {$(join(get_ticks(axis),","))}")
|
||||
ticks = get_ticks(axis)
|
||||
push!(style, string(letter, "tick = {", join(ticks[1],","), "}"))
|
||||
push!(style, string(letter, "ticklabels = {", join(ticks[2],","), "}"))
|
||||
end
|
||||
|
||||
|
||||
# return the style list and KW args
|
||||
style, kw
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user