code: def test_plot(setup):
      raw = pd.DataFrame(
          {
              "a": ["s" + str(i) for i in range(10)],
              "b": np.random.RandomState(0).randint(10, size=10),
          }
      )
      df = md.DataFrame(raw, chunk_size=3)
  
      _check_plot_works(df.plot, x="a", y="b")
      _check_plot_works(df.plot, x="a", y=mt.tensor("b"))
      _check_plot_works(df.plot.line)
  
      raw = pd.DataFrame(
          {
              "A": [
                  "foo",
                  "bar",
                  "foo",
                  "bar",
                  "foo",
                  "bar",
                  "foo",
                  "foo",
              ],
              "B": [
                  "one",
                  "one",
                  "two",
                  "three",
                  "two",
                  "two",
                  "one",
                  "three",
              ],
              "C": np.random.randn(8),
              "D": np.random.randn(8),
          }
      )
      df = md.DataFrame(raw, chunk_size=3)
      _check_plot_works(df.groupby("A").plot)
  
file_path: mars/mars/dataframe/plotting/tests/test_plot.py
imports: import warnings
  import tempfile
  import numpy
  import pandas
  import pytest
  from ....None import tensor
  from ....None import dataframe
label_desc: Use image node_id 4 for calling a global function with example usage: test_plot(setup) without return types