Skip to content

Commit

Permalink
Fix typical case
Browse files Browse the repository at this point in the history
This fixes the case of 
vlplot(data = DataFrame(x = 1:5, y = 1:5),
           mark = :point,
           x=:x,
           y=:y)
  • Loading branch information
Nosferican committed Dec 13, 2020
1 parent f3daf2e commit e1e86a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dsl_vlplot_function/dsl_vlplot_function.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e1e86a2

Please sign in to comment.