moved PyPlot to first priority

This commit is contained in:
Thomas Breloff 2015-11-16 16:06:48 -05:00
parent 54bd2c620e
commit 3bd9e70fa9

View File

@ -88,6 +88,11 @@ CurrentBackend(sym::Symbol) = CurrentBackend(sym, backendInstance(sym))
# --------------------------------------------------------- # ---------------------------------------------------------
function pickDefaultBackend() function pickDefaultBackend()
try
if Pkg.installed("PyPlot") != nothing
return CurrentBackend(:pyplot)
end
end
try try
if Pkg.installed("Immerse") != nothing if Pkg.installed("Immerse") != nothing
return CurrentBackend(:immerse) return CurrentBackend(:immerse)
@ -98,11 +103,6 @@ function pickDefaultBackend()
return CurrentBackend(:qwt) return CurrentBackend(:qwt)
end end
end end
try
if Pkg.installed("PyPlot") != nothing
return CurrentBackend(:pyplot)
end
end
try try
if Pkg.installed("Gadfly") != nothing if Pkg.installed("Gadfly") != nothing
return CurrentBackend(:gadfly) return CurrentBackend(:gadfly)