code: def viz_wine(
      orientation="TD",
      max_depth=3,
      random_state=666,
      fancy=True,
      pickX=False,
  ):
      clf = tree.DecisionTreeClassifier(max_depth=max_depth)
      wine = load_wine()
  
      X_train = wine.data
      y_train = wine.target
      clf.fit(X_train, y_train)
  
      X = None
      if pickX:
          X = X_train[np.random.randint(0, len(X_train.data)), :]
  
      viz = dtreeviz(
          clf,
          wine.data,
          wine.target,
          target_name="wine",
          feature_names=wine.feature_names,
          class_names=list(wine.target_names),
          X=X,
      )  # pass the test observation
      return viz
  
file_path: dtreeviz/testing/testone.py
imports: import graphviz
  from dtreeviz.shadow import *
  from gen_samples import *
  import tempfile
  from sklearn.tree import export_graphviz
label_desc: Use image node_id 6 for calling a global function with example usage: viz_wine(orientation, max_depth, random_state, fancy, pickX) and returns: viz