-
Notifications
You must be signed in to change notification settings - Fork 2.2k
new vega lite version #1525
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
Merged
Conengmo
merged 6 commits into
python-visualization:main
from
williambdean:latest-vega-lite-support
Nov 9, 2022
Merged
new vega lite version #1525
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
42ba154
new vega lite version
bdef957
adding support for vega-lite v5. modify the tests for checking
williambdean 0183c7b
following the stickler-ci comments
williambdean 414a5c5
returning int. Using None type instead
williambdean 3899eb6
since v1 has its own format
williambdean 1cf09d8
Merge remote-tracking branch 'upstream/main' into pr/1525
Conengmo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"$schema": "https://vega.github.io/schema/vega-lite/v1.3.1.json", | ||
"data": { | ||
"values": [ | ||
{ | ||
"folium usage": 0, | ||
"happiness": 1 | ||
}, | ||
{ | ||
"folium usage": 1, | ||
"happiness": 2.718281828459045 | ||
}, | ||
{ | ||
"folium usage": 2, | ||
"happiness": 7.38905609893065 | ||
}, | ||
{ | ||
"folium usage": 3, | ||
"happiness": 20.085536923187668 | ||
}, | ||
{ | ||
"folium usage": 4, | ||
"happiness": 54.598150033144236 | ||
}, | ||
{ | ||
"folium usage": 5, | ||
"happiness": 148.4131591025766 | ||
}, | ||
{ | ||
"folium usage": 6, | ||
"happiness": 403.4287934927351 | ||
}, | ||
{ | ||
"folium usage": 7, | ||
"happiness": 1096.6331584284585 | ||
}, | ||
{ | ||
"folium usage": 8, | ||
"happiness": 2980.9579870417283 | ||
}, | ||
{ | ||
"folium usage": 9, | ||
"happiness": 8103.083927575384 | ||
} | ||
] | ||
}, | ||
"encoding": { | ||
"x": { | ||
"field": "folium usage", | ||
"type": "quantitative" | ||
}, | ||
"y": { | ||
"field": "happiness", | ||
"type": "quantitative" | ||
} | ||
}, | ||
"height": 300, | ||
"mark": "point", | ||
"width": 400 | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
williambdean marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"config": { | ||
"view": { | ||
"height": 300, | ||
"width": 400 | ||
} | ||
}, | ||
"data": { | ||
"name": "data-aac17e868e23f98b5e0830d45504be45" | ||
}, | ||
"datasets": { | ||
"data-aac17e868e23f98b5e0830d45504be45": [ | ||
{ | ||
"folium usage": 0, | ||
"happiness": 1 | ||
}, | ||
{ | ||
"folium usage": 1, | ||
"happiness": 2.718281828459045 | ||
}, | ||
{ | ||
"folium usage": 2, | ||
"happiness": 7.38905609893065 | ||
}, | ||
{ | ||
"folium usage": 3, | ||
"happiness": 20.085536923187668 | ||
}, | ||
{ | ||
"folium usage": 4, | ||
"happiness": 54.598150033144236 | ||
}, | ||
{ | ||
"folium usage": 5, | ||
"happiness": 148.4131591025766 | ||
}, | ||
{ | ||
"folium usage": 6, | ||
"happiness": 403.4287934927351 | ||
}, | ||
{ | ||
"folium usage": 7, | ||
"happiness": 1096.6331584284585 | ||
}, | ||
{ | ||
"folium usage": 8, | ||
"happiness": 2980.9579870417283 | ||
}, | ||
{ | ||
"folium usage": 9, | ||
"happiness": 8103.083927575384 | ||
} | ||
] | ||
}, | ||
"encoding": { | ||
"x": { | ||
"field": "folium usage", | ||
"type": "quantitative" | ||
}, | ||
"y": { | ||
"field": "happiness", | ||
"type": "quantitative" | ||
} | ||
}, | ||
"mark": "point" | ||
} |
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.
Uh oh!
There was an error while loading. Please reload this page.