Fix default docstring (#4057)
This commit is contained in:
parent
acb5d5ac4b
commit
34e581ff3f
12
src/args.jl
12
src/args.jl
@ -1058,10 +1058,14 @@ end
|
||||
# update the defaults globally
|
||||
|
||||
"""
|
||||
`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)`
|
||||
`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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user