Skip to content

Make JS versions more inspectable #97

Description

@jakevdp

It would be nice to provide an easy means for the user to see what version of vega/vega-lite is installed with this package.

Currently (unless I'm mistaken) the only way is to look at package.json, find the vega-embed version, then go to the correct vega-embed release, open its package.json, and look for the vega-lite version there.

I'd love something similar to

>>> import vega
>>> vega.js_versions
{'vega': '4.0.0',
 'vega-lite': '2.6.0',
 'vega-embed': '3.16.0'}

The trick is to do that without too much manual bookkeeping...

Metadata

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