# Disabling Default Tool Tip on Violin Plot

**URL:** <https://community.plotly.com/t/disabling-default-tool-tip-on-violin-plot/85853>\
**Category:** 📊 Plotly Python\
**Tags:** question\
**Created:** [July 16, 2024, 9:46am UTC](https://community.plotly.com/t/disabling-default-tool-tip-on-violin-plot/85853 "2024-07-16T09:46:54Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![farispriadi](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/farispriadi/32/26759_2.png) [@farispriadi](https://community.plotly.com/u/farispriadi)\
**Post date:** [July 17, 2024, 12:26am UTC](https://community.plotly.com/t/disabling-default-tool-tip-on-violin-plot/85853/3 "2024-07-17T00:26:52Z")

</div>

Hi @B1jam1 ,

Just wanna link your solution on other post, it seems related to this post.

> [@Disabling default ToolTip while using a HoverTemplate in Python](https://community.plotly.com/t/disabling-default-tooltip-while-using-a-hovertemplate-in-python/85824/4):
>
> Hello again, I just found how to do so in the link you sent. Thank you very much! One simply has to enter \<extra\>\</extra\> at the end of the string given to the hovertemplate. As it is said in the documentation: Anything contained in tag \<extra\> is displayed in the secondary box. […] To hide the secondary box completely, use an empty tag \<extra\>\</extra\>. So in my first example, it can be removed with: hovertemplate = "Sample %{customdata[0]} \<extra\>\</extra\>". Thank you for your help!

---

_[View the full topic](https://community.plotly.com/t/disabling-default-tool-tip-on-violin-plot/85853)._
