Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Remove vega v5 wrappers #2829
Remove vega v5 wrappers #2829
Changes from 25 commits
637820a
92af2c6
3d440ba
cb72d6d
9c00973
ecc8262
7b06730
a628d06
3e5fdf2
052750c
f27234c
a288f35
6b82076
c596abe
cbdb9a7
260e766
bca0c56
718ee9a
c535a1a
6bf8be9
dd1b1b4
eff84c9
702ebba
b6fabee
bf6b389
1ed3f6f
f62ccdf
5410da5
838896e
32d581e
441db16
c009c2f
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same remark here about the deprecation warning
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only add the
vega-lite
suggestion if it is also supported in the rest ofsave
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't comment on the correct line but
vega
does not work here. It will try to access the mimebundle with keyimage/svg+xml
on line 169.Could also add support for "vega-lite" here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vega-lite
cannot be supported asformat
. That would bejson
.format
functions a bit like export to, or save as in other programs. If it is defined asvega
it should compile the vega-lite specification into vega json.Apparently that never has functioned.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of course, you're right, that would be
json
!There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, I just noticed the following variations in the code:
https://github.com/altair-viz/altair/blob/1ed3f6f2fd3647bcf1f2e5e81dd328a0f9cf623d/altair/utils/mimebundle.py#L72-L77
It seems there is different type of json, namely,
application/json
andapplication/vnd.vegalite.v5+json
(for altair 5). So I'll includevega-lite
also asformat
, it probably would be better if it was renamed to something asvl-json
.This file was deleted.