Formating hover data on Plotly.object

what is inside {} is the actual value you want to show on hovering at that point…I just used variable from your datatable and don’t use f""" format here.
Here is example for custom hovering template.