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()
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)