xrview.interactions.CoordValSelect¶
-
class
xrview.interactions.
CoordValSelect
(coord, max_elements=30, location='right')[source]¶ A list widget for selecting unique values of a certain coordinate.
-
__init__
(coord, max_elements=30, location='right')[source]¶ Constructor.
- Parameters
- coord: str
The name of the coordinate.
- max_elements: int, default 30
The maximum size of the displayed list of unique values.
- location: str, default ‘right’
The location of the widget in the layout.
Methods
__init__
(coord[, max_elements, location])Constructor.
attach
(context)Attach element to context.
collect_hook
(data)Hook for context.collect.
layout_hook
()Hook for layout creation.
on_selected_coord_change
(attr, old, new)Callback for multi-select change event.
-