Fix backend_name
This commit is contained in:
parent
c02b7cdc23
commit
3b3e4492fe
@ -41,7 +41,7 @@ backend_name(::UnicodePlotsPackage) = :unicodeplots
|
|||||||
backend_name(::QwtPackage) = :qwt
|
backend_name(::QwtPackage) = :qwt
|
||||||
backend_name(::BokehPackage) = :bokeh
|
backend_name(::BokehPackage) = :bokeh
|
||||||
backend_name(::PlotlyPackage) = :plotly
|
backend_name(::PlotlyPackage) = :plotly
|
||||||
backend_name(::GLVisualizePackage) = :plotly
|
backend_name(::GLVisualizePackage) = :glvisualize
|
||||||
backend_name(::NoPackage) = :none
|
backend_name(::NoPackage) = :none
|
||||||
|
|
||||||
include("backends/supported.jl")
|
include("backends/supported.jl")
|
||||||
@ -306,7 +306,7 @@ function backend(modname)
|
|||||||
elseif modname == :plotly
|
elseif modname == :plotly
|
||||||
CURRENT_BACKEND.pkg = PlotlyPackage()
|
CURRENT_BACKEND.pkg = PlotlyPackage()
|
||||||
elseif modname == :glvisualize
|
elseif modname == :glvisualize
|
||||||
CURRENT_BACKEND.pkg = GLVisualizePackage()
|
CURRENT_BACKEND.pkg = GLVisualizePackage()
|
||||||
else
|
else
|
||||||
error("Unknown backend $modname. Choose from: $BACKENDS")
|
error("Unknown backend $modname. Choose from: $BACKENDS")
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user