add#
- Legend.add(item)[source]#
Add an item to the legend.
- Parameters:
item (LegendItem | ImguiColorbar) – a graphic’s legend item, created with
Graphic.create_legend_item(), or a colorbar
Add an item to the legend.
item (LegendItem | ImguiColorbar) – a graphic’s legend item, created with Graphic.create_legend_item(), or a colorbar