dycw-utilities 0.109.11__py3-none-any.whl → 0.109.12__py3-none-any.whl
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.
- {dycw_utilities-0.109.11.dist-info → dycw_utilities-0.109.12.dist-info}/METADATA +5 -5
- {dycw_utilities-0.109.11.dist-info → dycw_utilities-0.109.12.dist-info}/RECORD +6 -6
- utilities/__init__.py +1 -1
- utilities/altair.py +5 -1
- {dycw_utilities-0.109.11.dist-info → dycw_utilities-0.109.12.dist-info}/WHEEL +0 -0
- {dycw_utilities-0.109.11.dist-info → dycw_utilities-0.109.12.dist-info}/licenses/LICENSE +0 -0
@@ -1,12 +1,12 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: dycw-utilities
|
3
|
-
Version: 0.109.
|
3
|
+
Version: 0.109.12
|
4
4
|
Author-email: Derek Wan <d.wan@icloud.com>
|
5
5
|
License-File: LICENSE
|
6
6
|
Requires-Python: >=3.12
|
7
7
|
Requires-Dist: typing-extensions<4.14,>=4.13.1
|
8
8
|
Provides-Extra: test
|
9
|
-
Requires-Dist: hypothesis<6.132,>=6.131.
|
9
|
+
Requires-Dist: hypothesis<6.132,>=6.131.7; extra == 'test'
|
10
10
|
Requires-Dist: pytest-asyncio<0.27,>=0.26.0; extra == 'test'
|
11
11
|
Requires-Dist: pytest-cov<6.2,>=6.1.1; extra == 'test'
|
12
12
|
Requires-Dist: pytest-instafail<0.6,>=0.5.0; extra == 'test'
|
@@ -62,7 +62,7 @@ Requires-Dist: fastapi<0.116,>=0.115.11; extra == 'zzz-test-fastapi'
|
|
62
62
|
Requires-Dist: httpx<0.29,>=0.28.1; extra == 'zzz-test-fastapi'
|
63
63
|
Requires-Dist: uvicorn<0.35,>=0.34.1; extra == 'zzz-test-fastapi'
|
64
64
|
Provides-Extra: zzz-test-fpdf2
|
65
|
-
Requires-Dist: fpdf2<2.9,>=2.8.
|
65
|
+
Requires-Dist: fpdf2<2.9,>=2.8.3; extra == 'zzz-test-fpdf2'
|
66
66
|
Requires-Dist: tzlocal<5.4,>=5.3.1; extra == 'zzz-test-fpdf2'
|
67
67
|
Provides-Extra: zzz-test-functions
|
68
68
|
Provides-Extra: zzz-test-functools
|
@@ -80,7 +80,7 @@ Provides-Extra: zzz-test-hypothesis
|
|
80
80
|
Requires-Dist: aiosqlite<0.22,>=0.21.0; extra == 'zzz-test-hypothesis'
|
81
81
|
Requires-Dist: asyncpg<0.31,>=0.30.0; extra == 'zzz-test-hypothesis'
|
82
82
|
Requires-Dist: greenlet<3.3,>=3.2.0; extra == 'zzz-test-hypothesis'
|
83
|
-
Requires-Dist: hypothesis<6.132,>=6.131.
|
83
|
+
Requires-Dist: hypothesis<6.132,>=6.131.7; extra == 'zzz-test-hypothesis'
|
84
84
|
Requires-Dist: luigi<3.7,>=3.6.0; extra == 'zzz-test-hypothesis'
|
85
85
|
Requires-Dist: numpy<2.3,>=2.2.5; extra == 'zzz-test-hypothesis'
|
86
86
|
Requires-Dist: pathvalidate<3.3,>=3.2.3; extra == 'zzz-test-hypothesis'
|
@@ -117,7 +117,7 @@ Provides-Extra: zzz-test-memory-profiler
|
|
117
117
|
Requires-Dist: memory-profiler<0.62,>=0.61.0; extra == 'zzz-test-memory-profiler'
|
118
118
|
Provides-Extra: zzz-test-modules
|
119
119
|
Provides-Extra: zzz-test-more-itertools
|
120
|
-
Requires-Dist: more-itertools<10.
|
120
|
+
Requires-Dist: more-itertools<10.8,>=10.7.0; extra == 'zzz-test-more-itertools'
|
121
121
|
Provides-Extra: zzz-test-numpy
|
122
122
|
Requires-Dist: numpy<2.3,>=2.2.5; extra == 'zzz-test-numpy'
|
123
123
|
Provides-Extra: zzz-test-operator
|
@@ -1,5 +1,5 @@
|
|
1
|
-
utilities/__init__.py,sha256=
|
2
|
-
utilities/altair.py,sha256=
|
1
|
+
utilities/__init__.py,sha256=V4hIkxHM85aC1wfztDqShV7oJrtyHnl9tBSs6Xoy5iM,61
|
2
|
+
utilities/altair.py,sha256=5WPwsHJoM-ZDh9iek4eSqf8_Ifb3w3KDwi7f2mrtXn4,9174
|
3
3
|
utilities/astor.py,sha256=xuDUkjq0-b6fhtwjhbnebzbqQZAjMSHR1IIS5uOodVg,777
|
4
4
|
utilities/asyncio.py,sha256=41oQUurWMvadFK5gFnaG21hMM0Vmfn2WS6OpC0R9mas,14757
|
5
5
|
utilities/atomicwrites.py,sha256=geFjn9Pwn-tTrtoGjDDxWli9NqbYfy3gGL6ZBctiqSo,5393
|
@@ -85,7 +85,7 @@ utilities/warnings.py,sha256=yUgjnmkCRf6QhdyAXzl7u0qQFejhQG3PrjoSwxpbHrs,1819
|
|
85
85
|
utilities/whenever.py,sha256=TjoTAJ1R27-rKXiXzdE4GzPidmYqm0W58XydDXp-QZM,17786
|
86
86
|
utilities/zipfile.py,sha256=24lQc9ATcJxHXBPc_tBDiJk48pWyRrlxO2fIsFxU0A8,699
|
87
87
|
utilities/zoneinfo.py,sha256=-DQz5a0Ikw9jfSZtL0BEQkXOMC9yGn_xiJYNCLMiqEc,1989
|
88
|
-
dycw_utilities-0.109.
|
89
|
-
dycw_utilities-0.109.
|
90
|
-
dycw_utilities-0.109.
|
91
|
-
dycw_utilities-0.109.
|
88
|
+
dycw_utilities-0.109.12.dist-info/METADATA,sha256=zW9ZDqlnUhiKPhvPCB5I5C1Gs-dPC05fkGdFarYMcWM,13005
|
89
|
+
dycw_utilities-0.109.12.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
90
|
+
dycw_utilities-0.109.12.dist-info/licenses/LICENSE,sha256=gppZp16M6nSVpBbUBrNL6JuYfvKwZiKgV7XoKKsHzqo,1066
|
91
|
+
dycw_utilities-0.109.12.dist-info/RECORD,,
|
utilities/__init__.py
CHANGED
utilities/altair.py
CHANGED
@@ -62,6 +62,7 @@ def plot_dataframes(
|
|
62
62
|
height: int = _HEIGHT,
|
63
63
|
width: int = _WIDTH,
|
64
64
|
interpolate: Any = Undefined,
|
65
|
+
title: str | None = None,
|
65
66
|
) -> VConcatChart:
|
66
67
|
"""Plot a DataFrame as a set of time series, with a multi-line tooltip."""
|
67
68
|
import polars as pl
|
@@ -143,9 +144,12 @@ def plot_dataframes(
|
|
143
144
|
for line, pts, rls, spec in zip(lines, points, rules, specs, strict=True)
|
144
145
|
]
|
145
146
|
zoom = selection_interval(bind="scales", encodings=["x"])
|
146
|
-
|
147
|
+
chart = (
|
147
148
|
vconcat(*layers).add_params(zoom).resolve_scale(color="independent", x="shared")
|
148
149
|
)
|
150
|
+
if title is not None:
|
151
|
+
chart = chart.properties(title=title)
|
152
|
+
return chart
|
149
153
|
|
150
154
|
|
151
155
|
def _plot_dataframes_get_spec(
|
File without changes
|
File without changes
|