check_graphic_mode#

LegendItem.check_graphic_mode()[source]#

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. Called on each draw.