From 7feefd5eef883b77c592f949e67a3f12b5d2570f Mon Sep 17 00:00:00 2001 From: Jon Mease Date: Sat, 23 Mar 2024 08:49:05 -0400 Subject: [PATCH] Fix vegafusion test and update VegaFusion constraint --- pyproject.toml | 2 +- tests/utils/test_mimebundle.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7cc710894..f03b1b721 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,7 +61,7 @@ all = [ "vega_datasets>=0.9.0", "vl-convert-python>=1.3.0", "pyarrow>=11", - "vegafusion[embed]>=1.5.0", + "vegafusion[embed]>=1.6.6", "anywidget>=0.9.0", "altair_tiles>=0.3.0" ] diff --git a/tests/utils/test_mimebundle.py b/tests/utils/test_mimebundle.py index 541ac483f..97c353c56 100644 --- a/tests/utils/test_mimebundle.py +++ b/tests/utils/test_mimebundle.py @@ -241,7 +241,7 @@ def check_pre_transformed_vega_spec(vega_spec): # Check that the bin transform has been applied row0 = data_0["values"][0] - assert row0 == {"a": "A", "b": 28, "b_end": 28.0, "b_start": 0.0} + assert row0 == {"a": "A", "b_end": 28.0, "b_start": 0.0} # And no transforms remain assert len(data_0.get("transform", [])) == 0