change non-underscore alias

This commit is contained in:
Simon Christ 2022-02-04 17:24:22 +01:00
parent 2a7d2d710e
commit e37380fcd2

View File

@ -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)