Revert "change non-underscore alias"
This reverts commit e37380fcd21e3476f2e898f025138b507656df9f.
This commit is contained in:
parent
ad3b8f96fd
commit
2bb00d6207
10
src/args.jl
10
src/args.jl
@ -8,7 +8,7 @@ end
|
|||||||
|
|
||||||
function make_non_underscore(s::Symbol)
|
function make_non_underscore(s::Symbol)
|
||||||
str = string(s)
|
str = string(s)
|
||||||
str = replace(str, "_" => "*")
|
str = replace(str, "_" => "")
|
||||||
return Symbol(str)
|
return Symbol(str)
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -1059,13 +1059,13 @@ end
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
`default(key)` returns the current default value for that key.
|
`default(key)` returns the current default value for that key.
|
||||||
|
|
||||||
`default(key, value)` sets the current default value for that key.
|
`default(key, value)` sets the current default value for that key.
|
||||||
|
|
||||||
`default(; kw...)` will set the current default value for each key/value pair.
|
`default(; kw...)` will set the current default value for each key/value pair.
|
||||||
|
|
||||||
`default(plotattributes, key)` returns the key from plotattributes if it exists, otherwise `default(key)`.
|
`default(plotattributes, key)` returns the key from plotattributes if it exists, otherwise `default(key)`.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
function default(k::Symbol)
|
function default(k::Symbol)
|
||||||
k = get(_keyAliases, k, k)
|
k = get(_keyAliases, k, k)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user