You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed, when viewing the output of hvega in the Vega-Lite editor that there are times we create invalid data. For instance, the following made-up example
vlShow (toVegaLite [ description "test"
, dataFromUrl "https://vega.github.io/vega-datasets/data/cars.json" []
, (encoding . position X [PName "Horsepower", PmType Quantitative,
PScale [SReverse True]]
. position Y [PName "Miles_per_Gallon", PmType Quantitative]) []
, mark Circle []
])
There are now tests, which generate a Vega-Lite schema and then compare it to an on-disk version (a "golden" file in the tasty vernacular). These can then be compared against the Vega-Lite schema as a check (and not all pass, particularly the examples using a custom projection).
I've noticed, when viewing the output of
hvega
in the Vega-Lite editor that there are times we create invalid data. For instance, the following made-up examplecreates
and the Vega-Lite editor doesn't like the use of
reverse
, even though it does display the X axis in reverse.The text was updated successfully, but these errors were encountered: