title: Plotly in Python: how to highlight a trace on hover?
body: <p>I have the following figure definition:</p>
  
  <pre><code>import plotly.graph_objects as go
  fig = go.Figure()
  fig.add_trace(go.Scatter(x=[1,2,3], y=[1,2,3], name="A"))
  fig.add_trace(go.Scatter(x=[1,2,3], y=[1,3,5], name="B"))
  fig.show()
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/vy3uc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vy3uc.png" alt="enter image description here"></a></p>
  
  <p>I would like to highlight a trace upon <strong>hover</strong>, which would reduce the opacity of all other traces and make the selected one bold preferably.</p>
  
  <p>Is there a way to achieve this?</p>