Minor doc typeset

This commit is contained in:
Tianyi Pu 2022-01-21 18:44:04 +00:00 committed by GitHub
parent acb5d5ac4b
commit 7661a702b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1058,10 +1058,14 @@ end
# update the defaults globally # update the defaults globally
""" """
`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(; kw...)` will set the current default value for each key/value pair `default(key, value)` sets the current default value for that key.
`default(plotattributes, key)` returns the key from plotattributes if it exists, otherwise `default(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) function default(k::Symbol)
k = get(_keyAliases, k, k) k = get(_keyAliases, k, k)