Skip to content

Documentation example fails #404

Open

Description

I am trying to reproduce an example from the documentation.

However, I get this error:

ArgumentError: Invalid shortcut string
tokenize_shorthand(s::String) at shorthandparser.jl:13
parse_shortcut(s::String) at shorthandparser.jl:66
fix_shortcut_level_encoding at dsl_vlplot_function.jl:26 [inlined]
(::VegaLite.var"#17#23"{Vector{Pair{Symbol, AbstractVector{T} where T}}})(::Pair{String, String}) at none:0
iterate at generator.jl:47 [inlined]
OrderedCollections.OrderedDict{String, Any}(kv::Base.Generator{OrderedCollections.OrderedDict{String, Any}, VegaLite.var"#17#23"{Vector{Pair{Symbol, AbstractVector{T} where T}}}}) at ordered_dict.jl:26
fix_shortcut_level_spec(spec_frag::VegaLite.VLFrag) at dsl_vlplot_function.jl:170
top-level scope at plot_test_del.jl:8
eval at boot.jl:360 [inlined]

My specs:

  • VegaDatasets v2.1.1
  • VegaLite v2.6.0
  • versioninfo()
    Julia Version 1.6.0
    Commit f9720dc2eb (2021-03-24 12:55 UTC)
    Platform Info:
    OS: macOS (x86_64-apple-darwin19.6.0)
    CPU: Intel(R) Core(TM) i5-5287U CPU @ 2.90GHz
    WORD_SIZE: 64
    LIBM: libopenlibm
    LLVM: libLLVM-11.0.1 (ORCJIT, broadwell)
    Environment:
    JULIA_EDITOR = atom -a
    JULIA_NUM_THREADS = 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions