code: def __init__(self, train_dirs):
      if isinstance(train_dirs, str):
          train_dirs = [train_dirs]
      self._load_data(train_dirs)
  
file_path: catboost/catboost/python-package/catboost/plot_helpers.py
imports: import json
  import os
  import warnings
  from .None import _catboost
label_desc: Use image node_id 1 to create a new OfflineMetricVisualizer object from inherited base classes: object with example: obj = OfflineMetricVisualizer(train_dirs)