DeferredDrawSelectionCallbackProperty

class glue.viewers.matplotlib.state.DeferredDrawSelectionCallbackProperty(default_index=0, choices=None, display_func=None, **kwargs)[source]

Bases: glue.external.echo.SelectionCallbackProperty

A callback property where drawing is deferred until after notify has called all callback functions.

Methods Summary

notify(self, \*args, \*\*kwargs)

Call all callback functions with the current value

Methods Documentation

notify(self, *args, **kwargs)[source]

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_old was set to True when calling add_callback()

Parameters
instance

The instance to consider

old

The old value of the property

new

The new value of the property