Skip to content

Commit 47a42d9

Browse files
authored
Merge pull request #27 from SwanHubX/feat/molecule
feat: new chart - molecule
2 parents 0c9ad71 + adb0720 commit 47a42d9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ build-backend = "hatchling.build"
99

1010
[project]
1111
name = "swankit"
12-
version = "0.1.6"
12+
version = "0.1.7"
1313
dynamic = ["readme", "dependencies"]
1414
description = "Base toolkit for SwanLab"
1515
license = "Apache-2.0"

swankit/core/data.py

+2
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ def __init__(self, chart_type: str, column_type: str):
151151

152152
OBJECT3D = ChartItem("object3d", "OBJECT3D")
153153

154+
MOLECULE = ChartItem("molecule", "MOLECULE")
155+
154156
# ---------------------------------- 需要子类实现的方法 ----------------------------------
155157

156158
@abstractmethod

0 commit comments

Comments
 (0)