Changes uncovered by Altair 4
See original GitHub issueIn https://github.com/altair-viz/altair/pull/1818 I begun the process of making Altair wrappers for Vega-Lite 4.0.0-beta.12. This introduced a couple test failures in examples due to properties that are no longer allowed by the schema.
To add back
-
https://altair-viz.github.io/gallery/ridgeline_plot.html fails because
bounds
is no longer an allowed property ofTopLevelUnitSpec
.- Ham: this one we should add back.
-
Any charts that use
width
orheight
in the view configuration break, because they are no longer allowed properties ofViewConfig
- Ham: this one we should add back, perhaps as deprecated configs.
Need to decide whether we want to add these back
-
https://altair-viz.github.io/gallery/anscombe_plot.html and several others fail because
columns
is no longer an allowed property ofTopLevelUnitSpec
. -
https://altair-viz.github.io/gallery/beckers_barley_trellis_plot.html fails because
rangeStep
is no longer an allowed property ofScale
. -
Similarly, https://altair-viz.github.io/gallery/layered_chart_bar_mark.html fails because
rangeStep
is no longer an allowed property ofScaleConfig
This is the extent of the issues that came up in a first pass!
Issue Analytics
- State:
- Created 4 years ago
- Comments:16 (11 by maintainers)
Top GitHub Comments
The current release of Altair uses Vega-Lite 4.0.2, so it’s possible that errors you see in Altair output won’t reproduce in the Vega editor (which I believe is at 4.4 at the moment)
Great! Already done in https://github.com/altair-viz/altair/commit/0ccd2e4a8c59f9fa5a1009ed4716bd6882187d01