Skip to content

Commit

Permalink
mouseover marker as rectangle
Browse files Browse the repository at this point in the history
  • Loading branch information
kecnry committed Jan 5, 2023
1 parent f2600e9 commit 9d06095
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jdaviz/configs/imviz/plugins/coords_info/coords_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ def marks(self):
# for new viewers if dynamic creation of spectral viewers is ever supported)
for id, viewer in self.app._viewer_store.items():
if isinstance(viewer, SpecvizProfileView):
self._marks[id] = PluginScatter(viewer, visible=False)
self._marks[id] = PluginScatter(viewer,
marker='rectangle', stroke_width=1,
visible=False)
viewer.figure.marks = viewer.figure.marks + [self._marks[id]]
return self._marks

Expand Down

0 comments on commit 9d06095

Please sign in to comment.