fix ticks for pgfplots
This commit is contained in:
parent
31ea149820
commit
4475c38140
@ -228,10 +228,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