Update backends.jl

This commit is contained in:
Simon Christ 2020-05-19 11:32:40 +02:00 committed by GitHub
parent eb859a1826
commit 3d2a4658d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -194,11 +194,11 @@ const _deprecated_backends = [:qwt, :winston, :bokeh, :gadfly, :immerse, :glvisu
function warn_on_deprecated_backend(bsym::Symbol)
if bsym in _deprecated_backends
if bsym == :pgfplots
if bsym == :pgfplots
@warn("Backend $bsym has been deprecated. Use pgfplotsx instead.")
else
@warn("Backend $bsym has been deprecated.")
end
else
@warn("Backend $bsym has been deprecated.")
end
end
end