remove#

Legend.remove(item)[source]#

Remove an item from the legend, it can be added to a legend again later.

Parameters:

item (LegendItem | ImguiColorbar) – the item to remove