sort all supported* functions
This commit is contained in:
parent
82ecb57dda
commit
8c9283f8cc
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user