class_docstr: Test the ClassificationScoreVisualizer base functionality
docstr: Test that a unique color per class is created after fit
docstr_tok: ["Test","that","a","unique","color","per","class","is","created","after","fit"]
code: def test_colors_property(self):
      """
      Test that a unique color per class is created after fit
      """
      oz = ClassificationScoreVisualizer(GaussianNB())
  
      with pytest.raises(
          NotFitted, match="cannot determine colors before fit"
      ):
          oz.class_colors_
  
      oz.fit(self.multiclass.X.train, self.multiclass.y.train)
      assert len(oz.class_colors_) == len(oz.classes_)
  
imports: import pytest
  import numpy
  import numpy.testing
  from yellowbrick.classifier.base import *
  from sklearn.naive_bayes import GaussianNB
  from sklearn.preprocessing import LabelEncoder
  from sklearn.linear_model import LinearRegression
  from .conftest import assert_fitted, assert_not_fitted
  from yellowbrick.exceptions import YellowbrickTypeError
label_desc: Use image node_id 6 for calling the TestClassificationScoreVisualizer obj's underlying member method code with example usage: obj.test_colors_property() without return types