Assigning labels to lines

Hi,

I have this plot that I create with plotly.graph_objects here

https://stackoverflow.com/questions/58157064/how-to-assign-a-label-to-go-layout-shapetype-line

I fail to assign labels to the verical lines.

Is that possible?

Please see my answer in stackoverflow, creating the lines using go.Scatter should work I hope.