code: def fit(self, y):
      """
      Fit the visualizer to the target y. Note that this visualizer breaks
      the standard estimator interface, and therefore cannot be used inside
      of pipelines, but must be used separately; similar to how the
      LabelEncoder is used.
      """
      raise NotImplementedError(
          "target visualizers must implement a fit method"
      )
  
imports: from yellowbrick.base import Visualizer
label_desc: Use image node_id 1 for calling the TargetVisualizer obj's underlying member method code with example usage: obj.fit(y) without return types