Limiting Decimel places in Box Plot

Hello,

I have created a Dash application using the codes from Demo application and added a box plot. The problem I am having is with the decimal places displayed on Hovering a box. I want to limit it to two. Already tried the suggestions mentioned on Hover Text and Formatting | Python | Plotly but it’s not working. hover_data gives an error that it doesn’t exist. On another webpage, I have used JS plotly for box plots and used the hover formatting options to limit the decimal places mentioned on Hover Text and Formatting | JavaScript | Plotly and they worked perfectly. However, I am trying to sort it out in Dash but nothing is helping so far.

Any suggestions or help would be much appreciated. Thanks :slightly_smiling_face: