plotlyjs travis

This commit is contained in:
Thomas Breloff 2016-04-20 12:33:32 -04:00
parent 2fb10b7076
commit 18fc50fcbf
2 changed files with 6 additions and 5 deletions

View File

@ -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)'

View File

@ -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