From d64ba707e95593d3ae98d03edbc54e7ea98d00dc Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Sat, 25 Apr 2020 10:43:09 +0200 Subject: [PATCH 1/2] fix _as_gradient(::Colorant) --- src/utils.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.jl b/src/utils.jl index add74fa9..1536c6a2 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -136,7 +136,7 @@ _cycle(cl::PlotUtils.AbstractColorList, idx::AVec{Int}) = cl[mod1.(idx, end)] _as_gradient(grad) = grad _as_gradient(v::AbstractVector{<:Colorant}) = cgrad(v) _as_gradient(cp::ColorPalette) = cgrad(cp, categorical = true) -_as_gradient(c::Colorant) = ColorGradient([c,c]) +_as_gradient(c::Colorant) = cgrad([c, c]) makevec(v::AVec) = v makevec(v::T) where {T} = T[v] From 84039a79de6ac61b945a5aec6eba5c5ae5d0bf36 Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Sun, 26 Apr 2020 10:46:26 +0200 Subject: [PATCH 2/2] bump version --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 81aed21a..4e390427 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "Plots" uuid = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" author = ["Tom Breloff (@tbreloff)"] -version = "1.1.0" +version = "1.1.1" [deps] Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"