From 140ddc00c3cb084f9781573eaafceb0153567b0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20H=C3=B8xbro=20Hansen?= Date: Mon, 21 Oct 2024 09:44:58 +0200 Subject: [PATCH] fix: Don't remove ds_version yet --- holoviews/operation/datashader.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/holoviews/operation/datashader.py b/holoviews/operation/datashader.py index 9dc6c010a9..aff52cc08c 100644 --- a/holoviews/operation/datashader.py +++ b/holoviews/operation/datashader.py @@ -69,7 +69,8 @@ from ..streams import PointerXY from .resample import LinkableOperation, ResampleOperation2D -DATASHADER_VERSION = Version(ds.__version__).release +ds_version = Version(ds.__version__) # DEPRECATED: Used by hvplot<=0.11.1 +DATASHADER_VERSION = ds_version.release DATASHADER_GE_0_14_0 = DATASHADER_VERSION >= (0, 14, 0) DATASHADER_GE_0_15_1 = DATASHADER_VERSION >= (0, 15, 1) DATASHADER_GE_0_16_0 = DATASHADER_VERSION >= (0, 16, 0)