code: def test_hover_data_string_column():
      df = px.data.tips()
      fig = px.scatter(
          df,
          x="tip",
          y="total_bill",
          hover_data="sex",
      )
      assert "sex" in fig.data[0].hovertemplate
  
file_path: plotly.py/packages/python/plotly/plotly/tests/test_optional/test_px/test_px_hover.py
imports: import plotly.express
  import numpy
  import pandas
  import pytest
  from collections import OrderedDict
label_desc: Use image node_id 2 for calling a global function with example usage: test_hover_data_string_column() without return types