diff --git a/src/plotter.jl b/src/plotter.jl index 4bd28049..c0b4474e 100644 --- a/src/plotter.jl +++ b/src/plotter.jl @@ -88,6 +88,11 @@ CurrentBackend(sym::Symbol) = CurrentBackend(sym, backendInstance(sym)) # --------------------------------------------------------- function pickDefaultBackend() + try + if Pkg.installed("PyPlot") != nothing + return CurrentBackend(:pyplot) + end + end try if Pkg.installed("Immerse") != nothing return CurrentBackend(:immerse) @@ -98,11 +103,6 @@ function pickDefaultBackend() return CurrentBackend(:qwt) end end - try - if Pkg.installed("PyPlot") != nothing - return CurrentBackend(:pyplot) - end - end try if Pkg.installed("Gadfly") != nothing return CurrentBackend(:gadfly)