DeferredDrawSelectionCallbackProperty#
- class glue.viewers.matplotlib.state.DeferredDrawSelectionCallbackProperty(default_index=0, choices=None, display_func=None, comparison_type=None, **kwargs)#
Bases:
SelectionCallbackPropertyA callback property where drawing is deferred until after notify has called all callback functions.
- Parameters:
default – The initial value for the property
Methods Summary
notify(*args, **kwargs)Call all callback functions with the current value
Methods Documentation
- notify(*args, **kwargs)#
Call all callback functions with the current value
Each callback will either be called using callback(new) or callback(old, new) depending on whether
echo_oldwas set to True when callingadd_callback()- Parameters:
- instance
The instance to consider
- old
The old value of the property
- new
The new value of the property