class_docstr: Base class for all anomaly models.
docstr: Internal function that plots the results of the anomaly model.
  Called by the function show_anomalies().
docstr_tok: ["Internal","function","that","plots","the","results","of","the","anomaly","model",".","Called","by","the","function","show_anomalies","(",")","."]
code: def _show_anomalies(
      self,
      series: TimeSeries,
      model_output: TimeSeries = None,
      anomaly_scores: Union[TimeSeries, Sequence[TimeSeries]] = None,
      names_of_scorers: Union[str, Sequence[str]] = None,
      actual_anomalies: TimeSeries = None,
      title: str = None,
      metric: str = None,
  ):
      """Internal function that plots the results of the anomaly model.
      Called by the function show_anomalies().
      """
  
      if title is None:
          title = f"Anomaly results ({self.model.__class__.__name__})"
  
      if names_of_scorers is None:
          names_of_scorers = [s.__str__() for s in self.scorers]
  
      list_window = [s.window for s in self.scorers]
  
      return show_anomalies_from_scores(
          series,
          model_output=model_output,
          anomaly_scores=anomaly_scores,
          window=list_window,
          names_of_scorers=names_of_scorers,
          actual_anomalies=actual_anomalies,
          title=title,
          metric=metric,
      )
  
file_path: darts/darts/ad/anomaly_model/anomaly_model.py
imports: from abc import ABC, abstractmethod
  from typing import Dict, Sequence, Union
  from darts.ad.scorers.scorers import AnomalyScorer
  from darts.ad.utils import _to_list, eval_accuracy_from_scores, show_anomalies_from_scores
  from darts.logging import raise_if_not
  from darts.timeseries import TimeSeries
label_desc: Use image node_id 7 for calling the AnomalyModel obj's underlying member method code with example usage: obj._show_anomalies(series, model_output, anomaly_scores, names_of_scorers, actual_anomalies, title, metric) and returns: show_anomalies_from_scores