LegendItem#
LegendItem#
Constructor#
|
The legend representation of a graphic, created with |
Properties#
get or set the label of each cmap_transform value of a qualitative colormap |
|
the colorbar of this item, set when the graphic uses a quantitative colormap |
|
the elements of this item, empty when it is shown as a colorbar |
|
the figure this container is drawn in |
|
the graphic this item represents |
|
get or set the label of this item, the graphic's name is used if it is not set |
|
the legend this item has been added to |
Methods#
Make the item again if the graphic switched between uniform colors, per-vertex colors and a colormap, which replaces the feature instance and clears its handlers, so there is no event to follow. |
|
pushes and pops the ID to keep identical containers unique within one frame |
|
Implement your GUI here and it will be drawn within the host window |