code: def test_splom_case():
      iris = px.data.iris()
      fig = px.scatter_matrix(iris)
      assert len(fig.data[0].dimensions) == len(iris.columns)
      dic = {"a": [1, 2, 3], "b": [4, 5, 6], "c": [7, 8, 9]}
      fig = px.scatter_matrix(dic)
      assert np.all(
          fig.data[0].dimensions[0].values == np.array(dic["a"])
      )
      ar = np.arange(9).reshape((3, 3))
      fig = px.scatter_matrix(ar)
      assert np.all(fig.data[0].dimensions[0].values == ar[:, 0])
  
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 23 for calling a global function with example usage: test_splom_case() without return types