code: def test_default_colors_named_from_prop_cycle(
      self, num_colors, expected
  ):
      import matplotlib as mpl
      from matplotlib.pyplot import cycler
  
      mpl_params = {
          "axes.prop_cycle": cycler(color=["red", "green", "blue"]),
      }
      with mpl.rc_context(rc=mpl_params):
          result = get_standard_colors(num_colors=num_colors)
          assert result == expected
  
file_path: pandas/pandas/tests/plotting/test_style.py
imports: import pytest
  from pandas import Series
  from pandas.plotting._matplotlib.style import get_standard_colors
label_desc: Use image node_id 1 for calling the TestGetStandardColors obj's underlying member method code with example usage: obj.test_default_colors_named_from_prop_cycle(num_colors, expected) without return types