class_docstr: Test dg.add_rows.
class_docstr_tok: ["Test","dg.add_rows","."]
code: def test_charts_with_explicit_x_and_y_sequence_and_static_color(
      self, chart_command
  ):
      expected = pd.DataFrame(
          {
              "b": [21, 22, 23, 21, 22, 23],
              "color--p5bJXXpQgvPz6yvQMFiy": [
                  "a",
                  "a",
                  "a",
                  "c",
                  "c",
                  "c",
              ],
              "value--p5bJXXpQgvPz6yvQMFiy": [11, 12, 13, 31, 32, 33],
          }
      )
  
      element = chart_command(
          DATAFRAME, x="b", y=["a", "c"], color=["#f00", "#0f0"]
      )
      element.add_rows(NEW_ROWS)
  
      proto = bytes_to_data_frame(
          self.get_delta_from_queue().arrow_add_rows.data.data
      )
  
      pd.testing.assert_frame_equal(proto, expected)
  
file_path: streamlit/lib/tests/streamlit/elements/arrow_add_rows_test.py
imports: import pandas
  from parameterized import parameterized
  import streamlit
  from streamlit.type_util import bytes_to_data_frame
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 6 for calling the DeltaGeneratorAddRowsTest obj's underlying member method code with example usage: obj.test_charts_with_explicit_x_and_y_sequence_and_static_color(chart_command) without return types