diff --git a/.travis.yml b/.travis.yml index b602eb8f..75be86ac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,8 +18,8 @@ script: - julia -e 'Pkg.clone("https://github.com/tbreloff/ImageMagick.jl.git"); Pkg.checkout("ImageMagick","tb_write"); Pkg.build("ImageMagick")' - julia -e 'Pkg.clone("https://github.com/tbreloff/VisualRegressionTests.jl.git");' - julia -e 'Pkg.clone("https://github.com/tbreloff/ExamplePlots.jl.git");' - - julia -e 'Pkg.checkout("Blink"); Pkg.build("Blink"); import Blink; Blink.AtomShell.install()' - - julia -e 'Pkg.checkout("PlotlyJS")' + - julia -e 'Pkg.clone("https://github.com/JunoLab/Blink.jl.git"); Pkg.build("Blink"); import Blink; Blink.AtomShell.install()' + - julia -e 'Pkg.clone("https://github.com/spencerlyon2/PlotlyJS.jl.git")' # - julia -e 'Pkg.add("Cairo"); Pkg.build("Cairo")' - julia -e 'ENV["PYTHON"] = ""; Pkg.add("PyPlot"); Pkg.build("PyPlot")' - julia -e 'Pkg.test("Plots"; coverage=false)' diff --git a/src/backends/plotly.jl b/src/backends/plotly.jl index d44c8793..0486cbc0 100644 --- a/src/backends/plotly.jl +++ b/src/backends/plotly.jl @@ -270,6 +270,7 @@ const _plotly_markers = KW( # get a dictionary representing the series params (d is the Plots-dict, d_out is the Plotly-dict) function plotly_series(d::KW; plot_index = nothing) + # dumpdict(d,"series",true) d_out = KW() x, y = collect(d[:x]), collect(d[:y]) @@ -404,10 +405,10 @@ function plotly_series(d::KW; plot_index = nothing) ) end - # convert polar plots x/y to r/t + # convert polar plots x/y to theta/radius if get(d, :polar, false) - d_out[:r] = pop!(d_out, :x) - d_out[:t] = pop!(d_out, :y) + d_out[:t] = pop!(d_out, :x) + d_out[:r] = pop!(d_out, :y) end # # for subplots, we need to add the xaxis/yaxis fields