code: def test_binary_target_color_type(n_classes, expected):
      """
      Test classification target color type
      """
      _, y = make_classification(
          n_classes=n_classes, n_informative=n_classes + 2
      )
      assert target_color_type(y) == expected
  
file_path: yellowbrick/tests/test_utils/test_target.py
imports: import pytest
  import numpy
  from yellowbrick.utils.target import *
  from yellowbrick.exceptions import YellowbrickValueError
  from sklearn.datasets import make_regression, make_classification
label_desc: Use image node_id 2 for calling a global function with example usage: test_binary_target_color_type(n_classes, expected) without return types