code: def test_wrong_dimensions():
      with pytest.raises(ValueError) as err_msg:
          px.scatter(px.data.tips(), x="tip", y=[1, 2, 3])
      assert "All arguments should have the same length." in str(
          err_msg.value
      )
      # the order matters
      with pytest.raises(ValueError) as err_msg:
          px.scatter(px.data.tips(), x=[1, 2, 3], y="tip")
      assert "All arguments should have the same length." in str(
          err_msg.value
      )
      with pytest.raises(ValueError):
          px.scatter(px.data.tips(), x=px.data.iris().index, y="tip")
      assert "All arguments should have the same length." in str(
          err_msg.value
      )
  
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 14 for calling a global function with example usage: test_wrong_dimensions() without return types