From f18f245978715e48b1b11bd119c6e941ba7bf14f Mon Sep 17 00:00:00 2001 From: Carifio24 Date: Thu, 27 Jun 2024 12:34:06 -0400 Subject: [PATCH] Update styling of selector to make it easier to see. --- glue_plotly/viewers/common/viewer.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/glue_plotly/viewers/common/viewer.py b/glue_plotly/viewers/common/viewer.py index b428968..8d2b12e 100644 --- a/glue_plotly/viewers/common/viewer.py +++ b/glue_plotly/viewers/common/viewer.py @@ -13,8 +13,6 @@ __all__ = ['PlotlyBaseView'] -INTERACT_COLOR = "#cbcbcb" - class PlotlyBaseView(IPyWidgetView): @@ -22,7 +20,7 @@ class PlotlyBaseView(IPyWidgetView): include_dimensions=False, hovermode=False, hoverdistance=1, dragmode=False, showlegend=False, grid=None, - newselection=dict(line=dict(color=INTERACT_COLOR), mode='immediate'), + newselection=dict(line=dict(dash="dash"), mode='immediate'), modebar=dict(remove=['toimage', 'zoom', 'pan', 'lasso', 'zoomIn2d', 'zoomOut2d', 'select', 'autoscale', 'resetScale2d', 'resetViews'])