vgplot 0.34.0__tar.gz → 0.34.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {vgplot-0.34.0 → vgplot-0.34.2}/PKG-INFO +2 -2
- {vgplot-0.34.0 → vgplot-0.34.2}/package.json +1 -1
- {vgplot-0.34.0 → vgplot-0.34.2}/pyproject.toml +1 -1
- {vgplot-0.34.0 → vgplot-0.34.2}/tests/test_python_api.py +2 -1
- {vgplot-0.34.0 → vgplot-0.34.2}/tests/test_unset_sentinel.py +1 -1
- {vgplot-0.34.0 → vgplot-0.34.2}/vgplot/_compat.py +0 -6
- {vgplot-0.34.0 → vgplot-0.34.2}/.gitignore +0 -0
- {vgplot-0.34.0 → vgplot-0.34.2}/CONTRIBUTING.md +0 -0
- {vgplot-0.34.0 → vgplot-0.34.2}/README.md +0 -0
- {vgplot-0.34.0 → vgplot-0.34.2}/tests/__init__.py +0 -0
- {vgplot-0.34.0 → vgplot-0.34.2}/tests/test_full_round_trip.py +0 -0
- {vgplot-0.34.0 → vgplot-0.34.2}/tests/test_schema_coverage.py +0 -0
- {vgplot-0.34.0 → vgplot-0.34.2}/vgplot/__init__.py +0 -0
- {vgplot-0.34.0 → vgplot-0.34.2}/vgplot/_generated/__init__.py +0 -0
- {vgplot-0.34.0 → vgplot-0.34.2}/vgplot/_generated/attributes.py +0 -0
- {vgplot-0.34.0 → vgplot-0.34.2}/vgplot/_generated/encodings.py +0 -0
- {vgplot-0.34.0 → vgplot-0.34.2}/vgplot/_generated/marks.py +0 -0
- {vgplot-0.34.0 → vgplot-0.34.2}/vgplot/_types.py +0 -0
- {vgplot-0.34.0 → vgplot-0.34.2}/vgplot/data.py +0 -0
- {vgplot-0.34.0 → vgplot-0.34.2}/vgplot/encodings.py +0 -0
- {vgplot-0.34.0 → vgplot-0.34.2}/vgplot/params.py +0 -0
- {vgplot-0.34.0 → vgplot-0.34.2}/vgplot/plot.py +0 -0
- {vgplot-0.34.0 → vgplot-0.34.2}/vgplot/spec.py +0 -0
- {vgplot-0.34.0 → vgplot-0.34.2}/vgplot/util.py +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: vgplot
|
|
3
|
-
Version: 0.34.
|
|
3
|
+
Version: 0.34.2
|
|
4
4
|
Summary: A Python API for authoring Mosaic vgplot visualizations
|
|
5
5
|
Project-URL: homepage, https://github.com/uwdata/mosaic
|
|
6
|
-
Requires-Python: >=3.
|
|
6
|
+
Requires-Python: >=3.11
|
|
7
7
|
Requires-Dist: narwhals>=2.8.0
|
|
8
8
|
Description-Content-Type: text/markdown
|
|
9
9
|
|
|
@@ -143,7 +143,8 @@ class TestDataFrames:
|
|
|
143
143
|
vg.mark("rectX", df_pyarrow)
|
|
144
144
|
|
|
145
145
|
if TYPE_CHECKING:
|
|
146
|
-
from
|
|
146
|
+
from typing import assert_type
|
|
147
|
+
|
|
147
148
|
from vgplot._types import MarkData
|
|
148
149
|
|
|
149
150
|
assert_type(mark_polars.data, MarkData)
|
|
@@ -50,12 +50,6 @@ def _sentinel_backport_pre_typing_extensions_4_16() -> Any:
|
|
|
50
50
|
def __repr__(self) -> str:
|
|
51
51
|
return self._repr
|
|
52
52
|
|
|
53
|
-
if sys.version_info < (3, 11):
|
|
54
|
-
# The presence of this method convinces typing._type_check that Sentinels are types.
|
|
55
|
-
def __call__(self, *args: Any, **kwargs: Any) -> Any:
|
|
56
|
-
msg = f"{type(self).__name__!r} object is not callable"
|
|
57
|
-
raise TypeError(msg)
|
|
58
|
-
|
|
59
53
|
def __or__(self, other: Any) -> Any:
|
|
60
54
|
return typing.Union[self, other] # noqa: UP007
|
|
61
55
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|