plotlyjs tests and fixes
This commit is contained in:
parent
e8858cb1b7
commit
217ffb36e6
@ -15,6 +15,7 @@ script:
|
|||||||
# - julia -e 'Pkg.clone("https://github.com/tbreloff/Images.jl.git"); Pkg.checkout("Images","tom_imgcompare");'
|
# - julia -e 'Pkg.clone("https://github.com/tbreloff/Images.jl.git"); Pkg.checkout("Images","tom_imgcompare");'
|
||||||
# - julia -e 'Pkg.clone("Images"); Pkg.build("Images")'
|
# - julia -e 'Pkg.clone("Images"); Pkg.build("Images")'
|
||||||
# - julia -e 'Pkg.clone("ImageMagick"); Pkg.build("ImageMagick")'
|
# - julia -e 'Pkg.clone("ImageMagick"); 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.add("Cairo"); Pkg.build("Cairo")'
|
# - julia -e 'Pkg.add("Cairo"); Pkg.build("Cairo")'
|
||||||
|
|||||||
@ -114,9 +114,9 @@ end
|
|||||||
# ColorGradient(map(convertColor, cs), vals; kw...)
|
# ColorGradient(map(convertColor, cs), vals; kw...)
|
||||||
# end
|
# end
|
||||||
|
|
||||||
# function ColorGradient(grad::ColorGradient; alpha = nothing)
|
function ColorGradient(grad::ColorGradient; alpha = nothing)
|
||||||
# ColorGradient(convertColor(grad.colors, alpha), grad.values)
|
ColorGradient(convertColor(grad.colors, alpha), grad.values)
|
||||||
# end
|
end
|
||||||
|
|
||||||
getColor(gradient::ColorGradient, idx::Int) = gradient.colors[mod1(idx, length(gradient.colors))]
|
getColor(gradient::ColorGradient, idx::Int) = gradient.colors[mod1(idx, length(gradient.colors))]
|
||||||
|
|
||||||
|
|||||||
@ -7,7 +7,6 @@ FactCheck
|
|||||||
Cairo
|
Cairo
|
||||||
Gadfly
|
Gadfly
|
||||||
Images
|
Images
|
||||||
ImageMagick
|
|
||||||
PyPlot
|
PyPlot
|
||||||
@osx QuartzImageIO
|
@osx QuartzImageIO
|
||||||
GR
|
GR
|
||||||
|
|||||||
@ -33,5 +33,12 @@ facts("GR") do
|
|||||||
# image_comparison_facts(:gr, only=[1], eps=img_eps)
|
# image_comparison_facts(:gr, only=[1], eps=img_eps)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
facts("PlotlyJS") do
|
||||||
|
@fact plotlyjs() --> Plots.PlotlyJSBackend()
|
||||||
|
@fact backend() --> Plots.PlotlyJSBackend()
|
||||||
|
|
||||||
|
image_comparison_facts(:plotlyjs, only=[1,2,3,4,7,8,9,10,11,12,14,15,20,22,23,24], eps=img_eps)
|
||||||
|
end
|
||||||
|
|
||||||
FactCheck.exitstatus()
|
FactCheck.exitstatus()
|
||||||
end # module
|
end # module
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user