This commit is contained in:
Thomas Breloff 2015-10-26 11:38:33 -04:00
parent b9f9d8160d
commit e3d653a8d9
2 changed files with 12 additions and 8 deletions

View File

@ -1,11 +1,13 @@
# include this first to help with crashing??
using Gtk
# # include this first to help with crashing??
# using Gtk
# don't let pyplot use a gui... it'll crash
# note: Agg will set gui -> :none in PyPlot
ENV["MPLBACKEND"] = "Agg"
import PyPlot
try
@eval import PyPlot
end
# macro test_approx_eq_sigma_eps(A, B, sigma, eps)

View File

@ -53,12 +53,14 @@ facts("Gadfly") do
end
facts("PyPlot") do
@fact pyplot() --> Plots.PyPlotPackage()
@fact backend() --> Plots.PyPlotPackage()
image_comparison_tests(:pyplot, skip=[19], eps=img_eps)
end
if VERSION >= v"0.4-"
facts("PyPlot") do
@fact pyplot() --> Plots.PyPlotPackage()
@fact backend() --> Plots.PyPlotPackage()
image_comparison_tests(:pyplot, skip=[19], eps=img_eps)
end
end
# catch err