fix errors

This commit is contained in:
Daniel Schwabeneder 2017-11-19 15:16:49 +01:00
parent 8fee5e0de7
commit ba3e75e710

View File

@ -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)...)))
@ -859,6 +859,7 @@ function preprocessArgs!(d::KW)
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
for arg in wraptuple(pop!(d, :line, ())) for arg in wraptuple(pop!(d, :line, ()))