get_values

ClickCallbacks.get_values(**kwargs)

Successively collect return-values in a dict.

The dict is accessible via m.cb.[click/pick].get.picked_vals

The structure of the picked_vals dict is as follows: (lists are appended as you click on more pixels)

>>> dict(
>>>     pos=[... center-position tuples in plot_crs ...],
>>>     ID=[... the corresponding IDs in the dataframe...],
>>>     val=[... the corresponding values ...]
>>> )

removing the callback will also remove the associated value-dictionary!