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

**URL:** <https://root-forum.cern.ch/t/there-is-a-string-that-can-erase-a-specific-legend-entry/46000>\
**Category:** Newbie\
**Created:** [July 25, 2021, 5:40pm UTC](https://root-forum.cern.ch/t/there-is-a-string-that-can-erase-a-specific-legend-entry/46000 "2021-07-25T17:40:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cesar1](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/c/d9b06d/32.png) [@Cesar1](https://root-forum.cern.ch/u/Cesar1)\
**Post date:** [July 25, 2021, 5:40pm UTC](https://root-forum.cern.ch/t/there-is-a-string-that-can-erase-a-specific-legend-entry/46000/1 "2021-07-25T17:40:28Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![dastudillo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/dastudillo/32/17280_2.png) [@dastudillo](https://root-forum.cern.ch/u/dastudillo)\
**Post date:** [July 25, 2021, 5:50pm UTC](https://root-forum.cern.ch/t/there-is-a-string-that-can-erase-a-specific-legend-entry/46000/2 "2021-07-25T17:50:40Z")

</div>

Just don’t do AddEntry for them.
