class_docstr: Test DataVisualizer base class
class_docstr_tok: ["Test","DataVisualizer","base","class"]
docstr: Test the get_target_color_type helper method
code: def test_get_target_color_type(self):
      """
      Test the get_target_color_type helper method
      """
      oz = DataVisualizer()
  
      with pytest.raises(NotFitted, match="unknown target color type"):
          oz.get_target_color_type()
  
      oz.fit(*self.continuous)
      assert oz.get_target_color_type() == TargetType.CONTINUOUS
  
imports: import pytest
  import numpy
  import numpy.testing
  from tests.fixtures import Dataset
  from yellowbrick.base import Visualizer
  from yellowbrick.features.base import *
  from sklearn.base import BaseEstimator, TransformerMixin
  from sklearn.datasets import make_classification, make_regression
  from unittest.mock import Mock
label_desc: Use image node_id 11 for calling the TestDataVisualizer obj's underlying member method code with example usage: obj.test_get_target_color_type() without return types