code: def test_line_group():
      df = pd.DataFrame(
          data={
              "who": ["a", "a", "b", "b"],
              "x": [0, 1, 0, 1],
              "score": [1.0, 2, 3, 4],
              "miss": [3.2, 2.5, 1.3, 1.5],
          }
      )
      fig = px.line(df, x="x", y=["miss", "score"])
      assert len(fig.data) == 2
      fig = px.line(df, x="x", y=["miss", "score"], color="who")
      assert len(fig.data) == 4
      fig = px.scatter(df, x="x", y=["miss", "score"], color="who")
      assert len(fig.data) == 2
  
imports: import plotly.express
  import plotly.graph_objects
  import pandas
  import numpy
  from plotly.express._core import build_dataframe, _is_col_list
  from pandas.testing import assert_frame_equal
  import pytest
  import warnings
label_desc: Use image node_id 12 for calling a global function with example usage: test_line_group() without return types