erase button removes the legend