Can somebody explain the error I get when running this:
draw(SVG("/tmp/ex.svg", 30cm, 20cm), plot(layer(DataFrame(x=[1, 2, 3], y=[5, 6, 9]), x=:x, y=:y, size=1pt, Geom.point, Theme(highlight_width=0pt))))
ERROR: MethodError: no method matching evalmapping(::DataFrame, ::Measures.Length{:mm,Float64})
Closest candidates are:
evalmapping(::AbstractDataFrame, ::Symbol) at /home/nsajko/.julia/packages/Gadfly/Xnkmc/src/dataframes.jl:68
evalmapping(::AbstractDataFrame, ::AbstractString) at /home/nsajko/.julia/packages/Gadfly/Xnkmc/src/dataframes.jl:69
evalmapping(::AbstractDataFrame, ::Integer) at /home/nsajko/.julia/packages/Gadfly/Xnkmc/src/dataframes.jl:70
...
Stacktrace:
[1] _evalmapping!(::Dict{Symbol,Any}, ::DataFrame, ::Gadfly.Data) at /home/nsajko/.julia/packages/Gadfly/Xnkmc/src/mapping.jl:204
[2] evalmapping!(::Dict{Symbol,Any}, ::DataFrame, ::Gadfly.Data) at /home/nsajko/.julia/packages/Gadfly/Xnkmc/src/mapping.jl:233
[3] render_prepare(::Plot) at /home/nsajko/.julia/packages/Gadfly/Xnkmc/src/Gadfly.jl:414
[4] render(::Plot) at /home/nsajko/.julia/packages/Gadfly/Xnkmc/src/Gadfly.jl:740
[5] draw(::SVG, ::Plot) at /home/nsajko/.julia/packages/Gadfly/Xnkmc/src/Gadfly.jl:847
[6] top-level scope at REPL[2]:1
[7] run_repl(::REPL.AbstractREPL, ::Any) at /build/julia/src/julia-1.5.3/usr/share/julia/stdlib/v1.5/REPL/src/REPL.jl:288