Skip to content

Commit

Permalink
lcviz support for "show cube viewer" button
Browse files Browse the repository at this point in the history
  • Loading branch information
kecnry committed Feb 16, 2024
1 parent dc21126 commit 2bd1979
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lcviz/plugins/slice/slice.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,16 @@
from jdaviz.configs.cubeviz.plugins import Slice
from jdaviz.core.registries import tray_registry

#from lcviz.viewers import CubeView
from lcviz.viewers import CubeView

__all__ = ['Slice']


@tray_registry('lcviz-slice', label="Slice")
class Slice(Slice):
_cube_viewer_cls = CubeView
_cube_viewer_default_label = 'image'

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.docs_link = f"https://lcviz.readthedocs.io/en/{self.vdocs}/plugins.html#slice"
Expand Down

0 comments on commit 2bd1979

Please sign in to comment.