From 1bbe800dcd6f9a423459fc84ebd94b996f8f7826 Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Mon, 3 Sep 2018 17:30:50 +0200 Subject: [PATCH] move _current_plots_version from PlotDocs to Plots --- src/Plots.jl | 2 ++ test/imgcomp.jl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Plots.jl b/src/Plots.jl index f6e4b19f..16fe38c6 100644 --- a/src/Plots.jl +++ b/src/Plots.jl @@ -1,5 +1,7 @@ module Plots +_current_plots_version = v"0.20.1" + using Reexport import StaticArrays diff --git a/test/imgcomp.jl b/test/imgcomp.jl index 8d289f55..526d695e 100644 --- a/test/imgcomp.jl +++ b/test/imgcomp.jl @@ -29,7 +29,7 @@ default(size=(500,300)) # TODO: use julia's Condition type and the wait() and notify() functions to initialize a Window, then wait() on a condition that # is referenced in a button press callback (the button clicked callback will call notify() on that condition) -const _current_plots_version = v"0.20.1" +import Plots._current_plots_version function image_comparison_tests(pkg::Symbol, idx::Int; debug = false, popup = isinteractive(), sigma = [1,1], tol = 1e-2)