code: def test_name_heuristics():
      df = pd.DataFrame(dict(x=[0, 1], y=[3, 4], z=[0.1, 0.2]))
      fig = px.scatter(df, x=df.y, y=df.x, size=df.y)
      assert np.all(fig.data[0].x == np.array([3, 4]))
      assert np.all(fig.data[0].y == np.array([0, 1]))
      assert (
          fig.data[0].hovertemplate
          == "y=%{marker.size}<br>x=%{y}<extra></extra>"
      )
  
imports: import plotly.express
  import plotly.graph_objects
  import numpy
  import pandas
  import pytest
  from packaging import version
  import unittest.mock
  from plotly.express._core import build_dataframe
  from pandas.testing import assert_frame_equal
label_desc: Use image node_id 7 for calling a global function with example usage: test_name_heuristics() without return types