vgplot 0.31.0__tar.gz → 0.32.0__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.31.0 → vgplot-0.32.0}/PKG-INFO +1 -1
- {vgplot-0.31.0 → vgplot-0.32.0}/package.json +1 -1
- {vgplot-0.31.0 → vgplot-0.32.0}/tests/test_unset_sentinel.py +1 -1
- {vgplot-0.31.0 → vgplot-0.32.0}/vgplot/__init__.py +4 -0
- {vgplot-0.31.0 → vgplot-0.32.0}/vgplot/_generated/encodings.py +1 -1
- {vgplot-0.31.0 → vgplot-0.32.0}/vgplot/_types.py +1 -1
- {vgplot-0.31.0 → vgplot-0.32.0}/vgplot/plot.py +10 -0
- {vgplot-0.31.0 → vgplot-0.32.0}/.gitignore +0 -0
- {vgplot-0.31.0 → vgplot-0.32.0}/CONTRIBUTING.md +0 -0
- {vgplot-0.31.0 → vgplot-0.32.0}/README.md +0 -0
- {vgplot-0.31.0 → vgplot-0.32.0}/pyproject.toml +0 -0
- {vgplot-0.31.0 → vgplot-0.32.0}/tests/__init__.py +0 -0
- {vgplot-0.31.0 → vgplot-0.32.0}/tests/test_full_round_trip.py +0 -0
- {vgplot-0.31.0 → vgplot-0.32.0}/tests/test_python_api.py +0 -0
- {vgplot-0.31.0 → vgplot-0.32.0}/tests/test_schema_coverage.py +0 -0
- {vgplot-0.31.0 → vgplot-0.32.0}/vgplot/_compat.py +0 -0
- {vgplot-0.31.0 → vgplot-0.32.0}/vgplot/_generated/__init__.py +0 -0
- {vgplot-0.31.0 → vgplot-0.32.0}/vgplot/_generated/attributes.py +0 -0
- {vgplot-0.31.0 → vgplot-0.32.0}/vgplot/_generated/marks.py +0 -0
- {vgplot-0.31.0 → vgplot-0.32.0}/vgplot/data.py +0 -0
- {vgplot-0.31.0 → vgplot-0.32.0}/vgplot/encodings.py +0 -0
- {vgplot-0.31.0 → vgplot-0.32.0}/vgplot/params.py +0 -0
- {vgplot-0.31.0 → vgplot-0.32.0}/vgplot/spec.py +0 -0
- {vgplot-0.31.0 → vgplot-0.32.0}/vgplot/util.py +0 -0
|
@@ -62,7 +62,7 @@ if TYPE_CHECKING:
|
|
|
62
62
|
from typing_extensions import assert_type
|
|
63
63
|
|
|
64
64
|
def typing_unset(
|
|
65
|
-
a: UNSET, b: str | UNSET, c: Any | UNSET, d: int |
|
|
65
|
+
a: UNSET, b: str | UNSET, c: Any | UNSET, d: int | UNSET | None = UNSET
|
|
66
66
|
) -> None:
|
|
67
67
|
assert_type(a, UNSET)
|
|
68
68
|
assert_type(b, str | UNSET)
|
|
@@ -20,6 +20,7 @@ from .plot import (
|
|
|
20
20
|
margins,
|
|
21
21
|
mark,
|
|
22
22
|
menu,
|
|
23
|
+
nearest,
|
|
23
24
|
nearest_x,
|
|
24
25
|
nearest_y,
|
|
25
26
|
opacity_legend,
|
|
@@ -43,6 +44,7 @@ from .plot import (
|
|
|
43
44
|
toggle_color,
|
|
44
45
|
toggle_x,
|
|
45
46
|
toggle_y,
|
|
47
|
+
toggle_z,
|
|
46
48
|
vconcat,
|
|
47
49
|
vspace,
|
|
48
50
|
)
|
|
@@ -69,6 +71,7 @@ __all__ = [
|
|
|
69
71
|
"margins",
|
|
70
72
|
"mark",
|
|
71
73
|
"menu",
|
|
74
|
+
"nearest",
|
|
72
75
|
"nearest_x",
|
|
73
76
|
"nearest_y",
|
|
74
77
|
"opacity_legend",
|
|
@@ -99,6 +102,7 @@ __all__ = [
|
|
|
99
102
|
"toggle_color",
|
|
100
103
|
"toggle_x",
|
|
101
104
|
"toggle_y",
|
|
105
|
+
"toggle_z",
|
|
102
106
|
"vconcat",
|
|
103
107
|
"vspace",
|
|
104
108
|
] + list(_generated_all) # pyright: ignore[reportUnsupportedDunderAll]
|
|
@@ -152,7 +152,7 @@ def mode(col: TransformArg, **options: Any) -> dict[str, Any]:
|
|
|
152
152
|
|
|
153
153
|
|
|
154
154
|
def nth_value(
|
|
155
|
-
col: TransformArg, offset: TransformArg
|
|
155
|
+
col: TransformArg, offset: TransformArg, **options: Any
|
|
156
156
|
) -> dict[str, Any]:
|
|
157
157
|
"""Get the nth value of the given column in the current window frame, counting from one."""
|
|
158
158
|
return _transform("nth_value", (col, offset), options)
|
|
@@ -20,7 +20,7 @@ AttrValue = (
|
|
|
20
20
|
str | float | bool | date | dict[str, Any] | Sequence[Any] | _ParamBase | None
|
|
21
21
|
)
|
|
22
22
|
MarkData = str | FromRef | DataDef | dict[str, Any] | Sequence[Any] | _ParamBase | None
|
|
23
|
-
TransformArg = str | float | bool | _ParamBase
|
|
23
|
+
TransformArg = str | float | bool | dict[str, Any] | _ParamBase
|
|
24
24
|
|
|
25
25
|
UNSET = sentinel("UNSET")
|
|
26
26
|
"""Sentinel for mark channels that were not passed (distinct from None)."""
|
|
@@ -301,6 +301,16 @@ def toggle_color(bind: Any = None, peers: Any = None) -> dict[str, Any]:
|
|
|
301
301
|
return _interactor("toggleColor", **{"as": bind, "peers": peers})
|
|
302
302
|
|
|
303
303
|
|
|
304
|
+
def toggle_z(bind: Any = None, peers: Any = None) -> dict[str, Any]:
|
|
305
|
+
return _interactor("toggleZ", **{"as": bind, "peers": peers})
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
def nearest(
|
|
309
|
+
bind: Any = None, field: Any = None, channels: Any = None
|
|
310
|
+
) -> dict[str, Any]:
|
|
311
|
+
return _interactor("nearest", **{"as": bind, "field": field, "channels": channels})
|
|
312
|
+
|
|
313
|
+
|
|
304
314
|
def nearest_x(
|
|
305
315
|
bind: Any = None, field: Any = None, channels: Any = None
|
|
306
316
|
) -> dict[str, Any]:
|
|
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
|