Revert "change non-underscore alias"

This reverts commit e37380fcd21e3476f2e898f025138b507656df9f.
This commit is contained in:
Simon Christ 2022-02-04 17:24:22 +01:00
parent ad3b8f96fd
commit 2bb00d6207

View File

@ -8,7 +8,7 @@ end
function make_non_underscore(s::Symbol)
str = string(s)
str = replace(str, "_" => "*")
str = replace(str, "_" => "")
return Symbol(str)
end
@ -1059,13 +1059,13 @@ end
"""
`default(key)` returns 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(plotattributes, key)` returns the key from plotattributes if it exists, otherwise `default(key)`.
"""
function default(k::Symbol)
k = get(_keyAliases, k, k)