plotlyjs travis
This commit is contained in:
parent
967291c2ef
commit
2fb10b7076
@ -18,7 +18,7 @@ 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/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/VisualRegressionTests.jl.git");'
|
||||||
- julia -e 'Pkg.clone("https://github.com/tbreloff/ExamplePlots.jl.git");'
|
- julia -e 'Pkg.clone("https://github.com/tbreloff/ExamplePlots.jl.git");'
|
||||||
- julia -e 'Pkg.checkout("Blink"); Pkg.build("Blink"); Blink.AtomShell.install()'
|
- julia -e 'Pkg.checkout("Blink"); Pkg.build("Blink"); import Blink; Blink.AtomShell.install()'
|
||||||
- julia -e 'Pkg.checkout("PlotlyJS")'
|
- julia -e 'Pkg.checkout("PlotlyJS")'
|
||||||
# - julia -e 'Pkg.add("Cairo"); Pkg.build("Cairo")'
|
# - julia -e 'Pkg.add("Cairo"); Pkg.build("Cairo")'
|
||||||
- julia -e 'ENV["PYTHON"] = ""; Pkg.add("PyPlot"); Pkg.build("PyPlot")'
|
- julia -e 'ENV["PYTHON"] = ""; Pkg.add("PyPlot"); Pkg.build("PyPlot")'
|
||||||
|
|||||||
@ -404,6 +404,12 @@ function plotly_series(d::KW; plot_index = nothing)
|
|||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# convert polar plots x/y to r/t
|
||||||
|
if get(d, :polar, false)
|
||||||
|
d_out[:r] = pop!(d_out, :x)
|
||||||
|
d_out[:t] = pop!(d_out, :y)
|
||||||
|
end
|
||||||
|
|
||||||
# # for subplots, we need to add the xaxis/yaxis fields
|
# # for subplots, we need to add the xaxis/yaxis fields
|
||||||
# if plot_index != nothing
|
# if plot_index != nothing
|
||||||
# d_out[:xaxis] = "x$(plot_index)"
|
# d_out[:xaxis] = "x$(plot_index)"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user