legend item will be removed if a signal for the plot plugin is unsubcribed