Skip to content

Commit

Permalink
Merge pull request #76 from Carifio24/select-styling
Browse files Browse the repository at this point in the history
Make selection box easier to see
  • Loading branch information
Carifio24 authored Jun 27, 2024
2 parents 68cb013 + f18f245 commit 8bba9c2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions glue_plotly/viewers/common/viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,14 @@

__all__ = ['PlotlyBaseView']

INTERACT_COLOR = "#cbcbcb"


class PlotlyBaseView(IPyWidgetView):

LAYOUT_SETTINGS = dict(
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'])
Expand Down

0 comments on commit 8bba9c2

Please sign in to comment.