-
Notifications
You must be signed in to change notification settings - Fork 25
cls_BaseMapableEditor
Almar Klein edited this page Jun 1, 2017
·
3 revisions
Inherits from DraggableBox.
Base class for widgets that are used to edit the mapable properties of objects: colormap and clim.
The BaseMapableEditor class implements the following methods:
GetMapables, SetMapables
Get a list of mappable objects that was given earlier using SetMapables. If an axes or figure was given, all eligable objects are queried from their children.
Set the mapables to take into account. A mapable is any wibject or wobject that inherits from Colormapable (and can be recognized by having a colormap and clim property).
The argument may also be a list or tuple of objects, or an Axes or Figure instance, in which case all mapable children are used. If args is not given, the parent is used.