code: def test_marker_cycle():
      fig, ax = plt.subplots()
      ax.set_prop_cycle(
          cycler("c", ["r", "g", "y"])
          + cycler("marker", [".", "*", "x"])
      )
      for _ in range(4):
          ax.plot(range(10), range(10))
      assert [l.get_color() for l in ax.lines] == ["r", "g", "y", "r"]
      assert [l.get_marker() for l in ax.lines] == [".", "*", "x", "."]
  
file_path: matplotlib/lib/matplotlib/tests/test_cycles.py
imports: import contextlib
  from io import StringIO
  import matplotlib
  import matplotlib.pyplot
  import numpy
  import pytest
  from cycler import cycler
label_desc: Use image node_id 2 for calling a global function with example usage: test_marker_cycle() without return types