There is a string that can erase a specific legend entry?

Dear experts,

There is any string that when i input in AddEntry() it does not plot that specific legend?.

I am reading the legends in a string array in python, but there is some histograms that i don’t want to show the legends. But if i input ("") just that a blank square is plotted, with no subtitle.

I searched in the AddEntry() documentation but i didn’t find anything that could help me. So i would appreciate any tips.

Best Regards,
Caio.

Just don’t do AddEntry for them.

1 Like