From 0d6234929f185326974d34f80f67fbc42532be03 Mon Sep 17 00:00:00 2001 From: Kyle Conroy Date: Fri, 1 Dec 2023 13:36:21 -0500 Subject: [PATCH] remove support for jdaviz 3.8 --- lcviz/helper.py | 6 +----- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/lcviz/helper.py b/lcviz/helper.py index 9f234d37..5fa24ca6 100644 --- a/lcviz/helper.py +++ b/lcviz/helper.py @@ -98,11 +98,7 @@ def __init__(self, *args, **kwargs): ) # inject custom css from lcviz_style.vue (on top of jdaviz styles) - if hasattr(self.app, '_add_style'): - # will be guaranteed after jdaviz 3.9 - self.app._add_style((__file__, 'lcviz_style.vue')) - else: - self.app.set_style_template_file((__file__, 'lcviz_style.vue')) + self.app._add_style((__file__, 'lcviz_style.vue')) # set the link to read the docs self.app.docs_link = "https://lcviz.readthedocs.io" diff --git a/pyproject.toml b/pyproject.toml index ae426903..86a9da71 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,7 +20,7 @@ classifiers = [ ] dependencies = [ "astropy>=5.2", - "jdaviz==3.8.*", + "jdaviz>=3.9", "lightkurve>=2.4.1", ] dynamic = [