From 6a30435071b853c95f111d642c943407749a9fa4 Mon Sep 17 00:00:00 2001 From: Thomas Breloff Date: Tue, 2 Aug 2016 21:04:36 -0400 Subject: [PATCH] gr: added GKS_DOUBLE_BUF to display and removed forgotten debugging statement --- src/backends/gr.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backends/gr.jl b/src/backends/gr.jl index 491d334d..75fc36c9 100644 --- a/src/backends/gr.jl +++ b/src/backends/gr.jl @@ -699,7 +699,7 @@ function gr_display(sp::Subplot{GRBackend}, w, h, viewport_canvas) gr_set_fillcolor(cycle(series[:fillcolor], i)) fx = cycle(x, vcat(rng, reverse(rng))) fy = vcat(cycle(fr_from,rng), cycle(fr_to,reverse(rng))) - @show i rng fx fy + # @show i rng fx fy GR.fillarea(fx, fy) end end @@ -994,6 +994,7 @@ function _display(plt::Plot{GRBackend}) println(content) rm(filepath) else + ENV["GKS_DOUBLE_BUF"] = "true" gr_display(plt) end end