Broken on 0.4 master
ViralBShah opened this issue · comments
This is breaking Gadfly on 0.4 master as well right now.
LoadError: LoadError: LoadError: LoadError: ArgumentError: invalid type for argument pos in method definition for add_vertex! at /home/juser/.julia/v0.4/Contour/src/Contour.jl:146
while loading /home/juser/.julia/v0.4/Contour/src/Contour.jl, in expression starting on line 145
while loading /home/juser/.julia/v0.4/Gadfly/src/statistics.jl, in expression starting on line 5
while loading /home/juser/.julia/v0.4/Gadfly/src/Gadfly.jl, in expression starting on line 1054
while loading In[3], in expression starting on line 1
in include at ./boot.jl:252
in include_from_node1 at ./loading.jl:134
in reload_path at ./loading.jl:158
in _require at ./loading.jl:70
in require at ./loading.jl:56
in include at ./boot.jl:252
in include_from_node1 at ./loading.jl:134
in include at ./boot.jl:252
in include_from_node1 at ./loading.jl:134
in reload_path at ./loading.jl:158
in _require at ./loading.jl:70
in require at ./loading.jl:53
Thanks for the report; I'll take a look at it as soon as I have time, but unfortunately probably not before this weekend. PR's are very welcome (although I guess you specifically are at least as busy as I am!) :)
@ViralBShah: Using the latest master of Julia, Gadfly and Contour (as well as a couple of other dependencies of Gadfly) I can't reproduce the problem:
xs = collect(Float64, -pi:0.1:pi)
ys = copy(x)
zs = [sin(x) * cos(y) for x in xs, y in ys]
using Gadfly
plot(x=xs, y=ys, z=zs, Geom.contour)
works and produces the expected plot. What versions are you on? Can you give a code sample that reproduces the error?
Edit: OK, after Pkg.free("Contour")
I can reproduce. I'll tag a new version promptly; can you do Pkg.update()
(in a little while) and see if the problem is solved?
Thanks! I was using the tagged versions.
The error was on using Gadfly
, and this one is now fixed. Failing in Grid.jl now.
Great! Thanks again for the report!