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

Separate glue_qt and glue_jupyter import attempts #47

Merged
merged 1 commit into from
Oct 3, 2023
Merged
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
5 changes: 4 additions & 1 deletion glue_plotly/common/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@
from glue.core import BaseData
try:
from glue_qt.viewers.common.data_viewer import DataViewer
from glue_jupyter.bqplot.common import BqplotBaseView
except ImportError:
DataViewer = type(None)

try:
from glue_jupyter.bqplot.common import BqplotBaseView
except ImportError:

Check warning on line 13 in glue_plotly/common/common.py

View check run for this annotation

Codecov / codecov/patch

glue_plotly/common/common.py#L13

Added line #L13 was not covered by tests
BqplotBaseView = type(None)

from glue_plotly.utils import is_rgba_hex, opacity_value_string, rgba_hex_to_rgb_hex
Expand Down