Skip to content

Commit 9f6c944

Browse files
authored
Merge pull request #95 from bcdev/forman-v0.1.0
Preparing v0.1.0
2 parents bce6384 + fb861d7 commit 9f6c944

File tree

7 files changed

+11
-9
lines changed

7 files changed

+11
-9
lines changed

chartlets.js/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

chartlets.js/packages/demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "chartlets-demo",
3-
"version": "0.1.0-dev.0",
3+
"version": "0.1.0",
44
"description": "Demonstrator for the Chartlets framework.",
55
"type": "module",
66
"files": [

chartlets.js/packages/lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "chartlets",
3-
"version": "0.1.0-dev.0",
3+
"version": "0.1.0",
44
"description": "An experimental library for integrating interactive charts into existing JavaScript applications.",
55
"type": "module",
66
"files": [

chartlets.py/CHANGES.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
## Version 0.1.0 (in development)
21

3-
* Reorganised Chartlets project to better separate demo from library code.
2+
## Version 0.1.0 (from 2025/01/14)
3+
4+
* Reorganised Chartlets project to better separate demo from library code.
45
Created separate folder `demo` in `chartlets.py` that contains
56
a demo `server` package and example configuration.
67
Also simplified demo server code:
@@ -25,6 +26,7 @@
2526
- `Slider`
2627
- `Tabs` and `Tab`
2728

29+
2830
## Version 0.0.29 (from 2024/11/26)
2931

3032
* Fixed a bug that prevents using annotations of type `dict` or `dict[str, T]`.

chartlets.py/chartlets/components/slider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class Slider(Component):
6868
tooltip: str | None = None
6969
"""Tooltip title. Optional."""
7070

71-
track: Literal["inverted", "normal"] | False | None = None
71+
track: Literal["inverted", "normal"] | bool | None = None
7272
"""The track presentation:
7373
7474
- `normal`: the track will render a bar representing the slider value.

chartlets.py/chartlets/util/assertions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ def assert_is_instance_of(name: str, value: Any, type_set: Type | tuple[Type, ..
3030
type_set = (type_set,)
3131
raise TypeError(
3232
f"value of {name!r} must be of type"
33-
f" {" or ".join(map(lambda t: t.__name__, type_set))},"
33+
f" {' or '.join(map(lambda t: t.__name__, type_set))},"
3434
f" but was {'None' if value is None else type(value).__name__}"
3535
)

chartlets.py/chartlets/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = "0.1.0.dev0"
1+
version = "0.1.0"

0 commit comments

Comments
 (0)