From f4329a9483832bfec53b83e0600668b1f89ef208 Mon Sep 17 00:00:00 2001 From: Thomas Breloff Date: Fri, 30 Sep 2016 10:40:26 -0400 Subject: [PATCH] support color for plotly bar; closes #513 --- src/backends/plotly.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backends/plotly.jl b/src/backends/plotly.jl index d70ee16e..d06864af 100644 --- a/src/backends/plotly.jl +++ b/src/backends/plotly.jl @@ -386,6 +386,7 @@ function plotly_series(plt::Plot, series::Series) d_out[:type] = "bar" d_out[:x], d_out[:y] = x, y d_out[:orientation] = isvertical(series) ? "v" : "h" + d_out[:marker] = KW(:color => rgba_string(series[:fillcolor])) elseif st == :heatmap d_out[:type] = "heatmap"