fix errors
This commit is contained in:
parent
8fee5e0de7
commit
ba3e75e710
13
src/args.jl
13
src/args.jl
@ -418,10 +418,10 @@ const _all_defaults = KW[
|
|||||||
const _initial_defaults = deepcopy(_all_defaults)
|
const _initial_defaults = deepcopy(_all_defaults)
|
||||||
|
|
||||||
# to be able to reset font sizes to initial values
|
# to be able to reset font sizes to initial values
|
||||||
const _initial_fontsizes = Dict(:titlefont => _subplot_defaults[:titlefont].pointsize,
|
const _initial_fontsizes = Dict(:titlefont => _subplot_defaults[:titlefontsize],
|
||||||
:legendfont => _subplot_defaults[:legendfont].pointsize,
|
:legendfont => _subplot_defaults[:legendfontsize],
|
||||||
:tickfont => _axis_defaults[:tickfont].pointsize,
|
:tickfont => _axis_defaults[:tickfontsize],
|
||||||
:guidefont => _axis_defaults[:guidefont].pointsize)
|
:guidefont => _axis_defaults[:guidefontsize])
|
||||||
|
|
||||||
const _all_args = sort(collect(union(map(keys, _all_defaults)...)))
|
const _all_args = sort(collect(union(map(keys, _all_defaults)...)))
|
||||||
|
|
||||||
@ -856,8 +856,9 @@ function preprocessArgs!(d::KW)
|
|||||||
# handle individual axes font args
|
# handle individual axes font args
|
||||||
for letter in (:x, :y, :z)
|
for letter in (:x, :y, :z)
|
||||||
for fontname in (:tickfont, :guidefont)
|
for fontname in (:tickfont, :guidefont)
|
||||||
args = pop!(d, Symbol(letter, fontname), ())
|
args = pop!(d, Symbol(letter, fontname), ())
|
||||||
processFontArgs!(d, Symbol(letter, fontname), args)
|
processFontArgs!(d, Symbol(letter, fontname), args)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# handle line args
|
# handle line args
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user