sort all supported* functions

This commit is contained in:
Simon Christ 2022-03-29 16:58:13 +02:00
parent 82ecb57dda
commit 8c9283f8cc
2 changed files with 2 additions and 2 deletions

View File

@ -1626,7 +1626,7 @@ function warn_on_unsupported_args(pkg::AbstractBackend, plotattributes)
for k in sort(collect(_to_warn)) for k in sort(collect(_to_warn))
push!(already_warned, k) push!(already_warned, k)
@warn( @warn(
"Keyword argument $k not supported with $pkg. Choose from: $(join(sort(collect(supported_attrs(pkg))), ", "))" "Keyword argument $k not supported with $pkg. Choose from: $(join(supported_attrs(pkg), ", "))"
) )
end end
end end

View File

@ -285,7 +285,7 @@ for s in (:attr, :seriestype, :marker, :style, :scale)
v = Symbol("_", bend, "_", s) v = Symbol("_", bend, "_", s)
@eval begin @eval begin
$f(::$bend_type, $s::Symbol) = $s in $v $f(::$bend_type, $s::Symbol) = $s in $v
$f2(::$bend_type) = $v $f2(::$bend_type) = sort(collect($v))
end end
end end
end end