From b28cd7f8bda81695dd66e147d2d1d0a54c2a28bc Mon Sep 17 00:00:00 2001 From: Thomas Breloff Date: Wed, 9 Mar 2016 10:23:14 -0500 Subject: [PATCH] plotlyjs fix --- src/backends/plotlyjs.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/plotlyjs.jl b/src/backends/plotlyjs.jl index 544926f6..e1e87119 100644 --- a/src/backends/plotlyjs.jl +++ b/src/backends/plotlyjs.jl @@ -94,7 +94,7 @@ function Base.setindex!(plt::Plot{PlotlyJSPackage}, xy::Tuple, i::Integer) d[:x], d[:y] = xy # TODO: this is likely ineffecient... we should make a call that ONLY changes the plot data # PlotlyJS.restyle!(plt.o, i, plotly_series(d)) - PlotlyJS.restyle!(plt.o, i, Dict(:x=>d[:x], :y=>d[:y])) + PlotlyJS.restyle!(plt.o, i, Dict(:x=>(d[:x],), :y=>(d[:y],))) plt end