Update args.jl

Condition should be negated
This commit is contained in:
t-bltg 2021-09-15 22:52:12 +02:00 committed by GitHub
parent d988d4c9d1
commit 984c0fc84a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1569,8 +1569,7 @@ function warn_on_unsupported_args(pkg::AbstractBackend, plotattributes)
end
end
if !isempty(_to_warn) &&
!get(plotattributes, :warn_on_unsupported, _plot_defaults[:warn_on_unsupported])
if !isempty(_to_warn) && get(plotattributes, :warn_on_unsupported, _plot_defaults[:warn_on_unsupported])
for k in sort(collect(_to_warn))
push!(already_warned, k)
@warn(