code: def test_legen_with_grouping_and_color(self):
      df = pd.DataFrame.from_dict(
          {
              "data": [1, 1, 2, 2, 3, 3],
              "group": ["a", "a", "a", "b", "b", "b"],
          }
      )
      ch = chartify.Chart(x_axis_type="categorical")
      ch.plot.scatter(
          data_frame=df,
          categorical_columns="group",
          numeric_column="data",
          color_column="group",
      )
  
file_path: chartify/tests/test_chart.py
imports: import chartify
  import numpy
  import pandas
  import pytest
  from selenium.common.exceptions import WebDriverException
label_desc: Use image node_id 4 for calling the TestLegend obj's underlying member method code with example usage: obj.test_legen_with_grouping_and_color() without return types