code: def test_numpy():
      fig = px.scatter(x=[1, 2, 3], y=[2, 3, 4], color=[1, 3, 9])
      assert np.all(fig.data[0].x == np.array([1, 2, 3]))
      assert np.all(fig.data[0].y == np.array([2, 3, 4]))
      assert np.all(fig.data[0].marker.color == np.array([1, 3, 9]))
  
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 2 for calling a global function with example usage: test_numpy() without return types