From 26e4b4efdafa485075b70c0e65acba356173de75 Mon Sep 17 00:00:00 2001 From: Thomas Breloff Date: Thu, 29 Oct 2015 12:57:07 -0400 Subject: [PATCH] back to 0.3; working on fixes --- REQUIRE | 2 +- src/colors.jl | 2 +- test/REQUIRE | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/REQUIRE b/REQUIRE index 04b7f31e..0871e558 100644 --- a/REQUIRE +++ b/REQUIRE @@ -1,4 +1,4 @@ -julia 0.4 +julia 0.3 Colors Reexport diff --git a/src/colors.jl b/src/colors.jl index 9c2fd3d5..2c6dc78a 100644 --- a/src/colors.jl +++ b/src/colors.jl @@ -337,7 +337,7 @@ function generate_colorgradient(bgcolor = colorant"white"; gradient_from_list(colors) end -function get_color_palette(palette, bgcolor::Union{Colorant,ColorWrapper}, numcolors::Integer) +function get_color_palette(palette, bgcolor::@compat(Union{Colorant,ColorWrapper}), numcolors::Integer) grad = if palette == :auto generate_colorgradient(bgcolor) else diff --git a/test/REQUIRE b/test/REQUIRE index 8dbd52ff..a5de3587 100644 --- a/test/REQUIRE +++ b/test/REQUIRE @@ -1,4 +1,4 @@ -julia 0.4 +julia 0.3 Colors Reexport