code: def make_listy(p):
      if isinstance(p, str):
          return [p]
      try:
          _ = iter(p)
      except TypeError:
          p = [p]
      return p
  
imports: import matplotlib.pyplot
  import numpy
  import pandas
  import plotly.graph_objects
  import seaborn
  from funcsigs import signature
  from matplotlib.lines import Line2D
  from sklearn.metrics import auc, average_precision_score, precision_recall_curve, roc_curve
label_desc: Use image node_id 10 for calling a global function with example usage: make_listy(p) and returns: p, list