commit
c428dcdb3e
@ -681,12 +681,16 @@ function default(k::Symbol, v)
|
||||
end
|
||||
|
||||
function default(; kw...)
|
||||
if isempty(kw)
|
||||
reset_defaults()
|
||||
else
|
||||
kw = KW(kw)
|
||||
RecipesPipeline.preprocess_attributes!(kw)
|
||||
for (k,v) in kw
|
||||
default(k, v)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function default(plotattributes::AKW, k::Symbol)
|
||||
get(plotattributes, k, default(k))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user