From e1e86a24d4b44ea2bd3c6a997b73396346eaef6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Bayo=C3=A1n=20Santiago=20Calder=C3=B3n?= Date: Sun, 13 Dec 2020 08:00:05 -0500 Subject: [PATCH] Fix typical case This fixes the case of vlplot(data = DataFrame(x = 1:5, y = 1:5), mark = :point, x=:x, y=:y) --- src/dsl_vlplot_function/dsl_vlplot_function.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dsl_vlplot_function/dsl_vlplot_function.jl b/src/dsl_vlplot_function/dsl_vlplot_function.jl index cf2cae9c..d7cc3416 100644 --- a/src/dsl_vlplot_function/dsl_vlplot_function.jl +++ b/src/dsl_vlplot_function/dsl_vlplot_function.jl @@ -4,7 +4,7 @@ struct VLFrag <: Vega.AbstractVegaFragment end function vlfrag(args...; kwargs...) - return VLFrag(Any[args...], OrderedDict{String,Any}(string(k)=>convert_nt_to_dict(v, VLFrag) for (k,v) in kwargs)) + return VLFrag(Any[args...], OrderedDict{String,Any}(string(k)=>Vega.convert_nt_to_dict(v, VLFrag) for (k,v) in kwargs)) end fix_shortcut_level_mark(spec_frag) = spec_frag