Skip to content
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: default Vega-Lite-based renderer (#342) #438

Merged
merged 50 commits into from
Dec 14, 2022
Merged
Show file tree
Hide file tree
Changes from 49 commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
3de1ba4
feat: create `examples-vl` notebook
peter-gy Nov 1, 2022
932ed30
feat: base renderer progress
peter-gy Nov 8, 2022
50e0dfd
refactor: extract renderer base
peter-gy Nov 8, 2022
535dcb4
ci: set up python before installing stuff
domoritz Nov 8, 2022
6f33063
rm poetry
domoritz Nov 8, 2022
01e2eba
feat: `AltairRenderer` stable impl
peter-gy Nov 10, 2022
43644e6
chore: update `mypy`
peter-gy Nov 10, 2022
182c8d1
refactor: satisfy type analyzers
peter-gy Nov 10, 2022
705a68f
chore: merge `main`
peter-gy Nov 10, 2022
68e65e8
chore: bump `wheel`
peter-gy Nov 10, 2022
f15dda8
docs: document renderer
peter-gy Nov 10, 2022
2630f61
docs: document `types`
peter-gy Nov 10, 2022
9f8162d
chore: update `poetry.lock`
peter-gy Nov 10, 2022
01ec390
Merge remote-tracking branch 'origin/code-scanning' into feat/342-def…
peter-gy Nov 10, 2022
fc68609
chore: downgrade `wheel`
peter-gy Nov 10, 2022
2c9cac7
test: test `types`
peter-gy Nov 10, 2022
1da11b6
refactor: remove unused utility method
peter-gy Nov 10, 2022
d7a789e
test: increase renderer coverage
peter-gy Nov 10, 2022
2831d86
chore: add `deepdiff` as dev dep
peter-gy Nov 12, 2022
56926dc
test: use `DeepDiff` in `vl_specs_equal`
peter-gy Nov 12, 2022
d961948
chore: merge `main`
peter-gy Nov 15, 2022
1f1de2c
test: single view - single mark
peter-gy Nov 15, 2022
d8a7089
test: stacked
peter-gy Nov 15, 2022
e098422
fix: handle layering properly
peter-gy Nov 15, 2022
53d47ce
test: Multi Mark (Layered)
peter-gy Nov 15, 2022
88ef8ef
fix: type checker error thrown by unbounded generic
peter-gy Nov 15, 2022
7727e25
test: facets
peter-gy Nov 15, 2022
e59d9a8
test: multi view
peter-gy Nov 15, 2022
ebe3d78
chore: do not cover unreachable code
peter-gy Nov 15, 2022
ea26fe7
test: unknown field in spec raises
peter-gy Nov 15, 2022
cc802f6
test: cover all marks and encodings
peter-gy Nov 15, 2022
5c53486
chore: merge `main`
peter-gy Nov 15, 2022
bcaa8fe
feat: validate polar marks in schema
peter-gy Nov 18, 2022
0925055
test: polar mark validator
peter-gy Nov 18, 2022
1d972e0
feat: validate polar encodings in schema
peter-gy Nov 18, 2022
8910c7a
test: polar encoding validator
peter-gy Nov 18, 2022
94dc9e9
feat: support rendering polar charts
peter-gy Nov 18, 2022
ea7e7a7
test: polar charts
peter-gy Nov 18, 2022
bb7547a
feat: handle multi views
peter-gy Nov 18, 2022
dfada10
test: multi views
peter-gy Nov 18, 2022
6a36bad
chore: merge `main`
peter-gy Dec 7, 2022
76795ec
fix: satisfy CodeQL
peter-gy Dec 7, 2022
d6f06a8
refactor: move vega-specific spec to `altair` package
peter-gy Dec 7, 2022
8b96f55
ci: pin runners to `ubuntu-20.04`
peter-gy Dec 7, 2022
320cf54
docs: explain the purpose of the stroke in `__visit_mark_polar`
peter-gy Dec 7, 2022
aac04b9
refactor: declare methods as `static` where applicable
peter-gy Dec 13, 2022
39e400a
docs: document scale options of `SpecificationDict`
peter-gy Dec 13, 2022
4e380ec
feat: consider scale type in `__get_field_type`
peter-gy Dec 13, 2022
bd7ca3b
refactor: adjust dict in `__get_field_type`
peter-gy Dec 13, 2022
25659fe
fix: distinguish `__get_scale_for_encoding` and `__get_alt_scale_for_…
peter-gy Dec 14, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ on:

jobs:
book:
runs-on: ubuntu-latest
# https://github.com/actions/setup-python/issues/162#issuecomment-1325307787
# FIXME: temp change to ubuntu-20.04 from ubuntu-latest to fix python can not found error
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
# https://github.com/actions/setup-python/issues/162#issuecomment-1325307787
# FIXME: temp change to ubuntu-20.04 from ubuntu-latest to fix python can not found error
runs-on: ubuntu-20.04
permissions:
actions: read
contents: read
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ on:

jobs:
test:
runs-on: ubuntu-latest
# https://github.com/actions/setup-python/issues/162#issuecomment-1325307787
# FIXME: temp change to ubuntu-20.04 from ubuntu-latest to fix python can not found error
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -37,7 +39,9 @@ jobs:
fail_ci_if_error: true

lint:
runs-on: ubuntu-latest
# https://github.com/actions/setup-python/issues/162#issuecomment-1325307787
# FIXME: temp change to ubuntu-20.04 from ubuntu-latest to fix python can not found error
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v3
Expand Down
5 changes: 5 additions & 0 deletions draco/renderer/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from draco.renderer.altair.altair_renderer import AltairRenderer

from .base_renderer import BaseRenderer

__all__ = ["BaseRenderer", "AltairRenderer"]
Empty file.