code: def _warning_on_one_line(
      message, category, filename, lineno, file=None, line=None
  ):
      return "%s:%s: %s: %s\n" % (
          filename,
          lineno,
          category.__name__,
          message,
      )
  
imports: import warnings
  from numbers import Number
  from typing import Mapping, List
  import numpy
  import pandas
  from sklearn import tree
  from dtreeviz.models.shadow_decision_tree import ShadowDecTree
  from dtreeviz.utils import myround, DTreeVizRender
  from dtreeviz.trees import DTreeVizAPI
label_desc: Use image node_id 1 for calling a global function with example usage: _warning_on_one_line(message, category, filename, lineno, file, line) and returns: unknown