handle axis=nothing; closes #428
This commit is contained in:
parent
599f91860a
commit
54cd96e5e0
15
src/args.jl
15
src/args.jl
@ -626,6 +626,21 @@ end
|
|||||||
function preprocessArgs!(d::KW)
|
function preprocessArgs!(d::KW)
|
||||||
replaceAliases!(d, _keyAliases)
|
replaceAliases!(d, _keyAliases)
|
||||||
|
|
||||||
|
# clear all axis stuff
|
||||||
|
if haskey(d, :axis) && d[:axis] in (:none, nothing, false)
|
||||||
|
d[:ticks] = nothing
|
||||||
|
d[:foreground_color_border] = RGBA(0,0,0,0)
|
||||||
|
d[:grid] = false
|
||||||
|
delete!(d, :axis)
|
||||||
|
end
|
||||||
|
# for letter in (:x, :y, :z)
|
||||||
|
# asym = Symbol(letter, :axis)
|
||||||
|
# if haskey(d, asym) || d[asym] in (:none, nothing, false)
|
||||||
|
# d[Symbol(letter, :ticks)] = nothing
|
||||||
|
# d[Symbol(letter, :foreground_color_border)] = RGBA(0,0,0,0)
|
||||||
|
# end
|
||||||
|
# end
|
||||||
|
|
||||||
# handle axis args
|
# handle axis args
|
||||||
for letter in (:x, :y, :z)
|
for letter in (:x, :y, :z)
|
||||||
asym = Symbol(letter, :axis)
|
asym = Symbol(letter, :axis)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user