code: def test_data_frame_from_dict():
      fig = px.scatter(
          {"time": [0, 1], "money": [1, 2]}, x="time", y="money"
      )
      assert (
          fig.data[0].hovertemplate
          == "time=%{x}<br>money=%{y}<extra></extra>"
      )
      assert np.all(fig.data[0].x == [0, 1])
  
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 25 for calling a global function with example usage: test_data_frame_from_dict() without return types