deprecate pgfplots
This commit is contained in:
parent
d8f4519b0c
commit
7587d7a557
@ -190,13 +190,17 @@ function backend(sym::Symbol)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
const _deprecated_backends = [:qwt, :winston, :bokeh, :gadfly, :immerse, :glvisualize]
|
const _deprecated_backends = [:qwt, :winston, :bokeh, :gadfly, :immerse, :glvisualize, :pgfplots]
|
||||||
|
|
||||||
function warn_on_deprecated_backend(bsym::Symbol)
|
function warn_on_deprecated_backend(bsym::Symbol)
|
||||||
if bsym in _deprecated_backends
|
if bsym in _deprecated_backends
|
||||||
|
if bsym == :pgfplots
|
||||||
|
@warn("Backend $bsym has been deprecated. Use pgfplotsx instead.")
|
||||||
|
else
|
||||||
@warn("Backend $bsym has been deprecated.")
|
@warn("Backend $bsym has been deprecated.")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user