From adb0720dd1c91cbd4220425aca4db88857a3bdda Mon Sep 17 00:00:00 2001 From: KAAANG <79990647+SAKURA-CAT@users.noreply.github.com> Date: Fri, 4 Apr 2025 21:49:23 +0800 Subject: [PATCH] feat: new chart - molecule --- pyproject.toml | 2 +- swankit/core/data.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b4197bc..2a64763 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ build-backend = "hatchling.build" [project] name = "swankit" -version = "0.1.6" +version = "0.1.7" dynamic = ["readme", "dependencies"] description = "Base toolkit for SwanLab" license = "Apache-2.0" diff --git a/swankit/core/data.py b/swankit/core/data.py index 0b2bf3f..c0fa219 100644 --- a/swankit/core/data.py +++ b/swankit/core/data.py @@ -151,6 +151,8 @@ def __init__(self, chart_type: str, column_type: str): OBJECT3D = ChartItem("object3d", "OBJECT3D") + MOLECULE = ChartItem("molecule", "MOLECULE") + # ---------------------------------- 需要子类实现的方法 ---------------------------------- @abstractmethod