Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add histogram, scatter, and volume viewers to registry #402

Merged
merged 1 commit into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions glue_jupyter/bqplot/histogram/viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
from .layer_artist import BqplotHistogramLayerArtist
from glue_jupyter.common.state_widgets.layer_histogram import HistogramLayerStateWidget
from glue_jupyter.common.state_widgets.viewer_histogram import HistogramViewerStateWidget
from glue_jupyter.registries import viewer_registry

__all__ = ['BqplotHistogramView']


@viewer_registry("histogram")
class BqplotHistogramView(BqplotBaseView):

allow_duplicate_data = False
Expand Down
2 changes: 2 additions & 0 deletions glue_jupyter/bqplot/image/viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@
from glue_jupyter.common.state_widgets.layer_image import (ImageLayerStateWidget,
ImageSubsetLayerStateWidget)
from glue_jupyter.common.state_widgets.viewer_image import ImageViewerStateWidget
from glue_jupyter.registries import viewer_registry

__all__ = ['BqplotImageView']


@viewer_registry("image")
class BqplotImageView(BqplotBaseView):

allow_duplicate_data = False
Expand Down
2 changes: 2 additions & 0 deletions glue_jupyter/bqplot/profile/viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@

from glue_jupyter.common.state_widgets.layer_profile import ProfileLayerStateWidget
from glue_jupyter.common.state_widgets.viewer_profile import ProfileViewerStateWidget
from glue_jupyter.registries import viewer_registry

__all__ = ['BqplotProfileView']


@viewer_registry("profile")
class BqplotProfileView(BqplotBaseView):

allow_duplicate_data = False
Expand Down
2 changes: 2 additions & 0 deletions glue_jupyter/ipyvolume/volume/viewer.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from glue_jupyter.common.state3d import VolumeViewerState
from glue_jupyter.registries import viewer_registry

from .layer_artist import IpyvolumeVolumeLayerArtist
from .layer_style_widget import Volume3DLayerStateWidget
Expand All @@ -12,6 +13,7 @@
__all__ = ['IpyvolumeVolumeView']


@viewer_registry("volume")
class IpyvolumeVolumeView(IpyvolumeBaseView):

large_data_size = 1e8
Expand Down