-
-
Notifications
You must be signed in to change notification settings - Fork 553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(vega): implement transform for vega #1113
Conversation
Current coverage is 88.23% (diff: 100%)@@ master #1113 diff @@
==========================================
Files 56 57 +1
Lines 1431 1453 +22
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
+ Hits 1260 1282 +22
Misses 171 171
Partials 0 0
|
Note: until ipyvega exports the vega mimetypes used above, folks have to wrap altair objects with the little import IPython.display
def vegify(spec):
IPython.display.display({
'application/vnd.vegalite+json': spec.to_dict()
}, raw=True)
v = vegify |
Looks good! |
Webpack throws the following error on my machine:
|
Does it finish building for you though? I can add an escape for that, as we have native browser canvas as soon as it's in the Browser Window. |
Yes it builds fine |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
This enables the ability to use vega and vega-lite, either through Altair, ipyvega, or generally with the right vega(-lite) mimetype (
application/vnd.vega+json
andapplication/vnd.vegalite+json
).Items to follow up with:
/cc @ellisonbg