Skip to content

Commit

Permalink
Merge pull request #47 from Carifio24/fix-bad-import
Browse files Browse the repository at this point in the history
Separate glue_qt and glue_jupyter import attempts
  • Loading branch information
Carifio24 authored Oct 3, 2023
2 parents cf17507 + 3412f7e commit 7864f2e
Showing 1 changed file with 4 additions and 1 deletion.
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:
BqplotBaseView = type(None)

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

0 comments on commit 7864f2e

Please sign in to comment.