code: def viz_diabetes(
      orientation="TD",
      max_depth=3,
      random_state=666,
      fancy=True,
      pickX=False,
  ):
      diabetes = load_diabetes()
  
      regr = tree.DecisionTreeRegressor(
          max_depth=max_depth, random_state=random_state
      )
      regr.fit(diabetes.data, diabetes.target)
  
      X = None
      if pickX:
          X = diabetes.data[np.random.randint(0, len(diabetes.data)), :]
  
      viz = dtreeviz(
          regr,
          diabetes.data,
          diabetes.target,
          target_name="progr",
          feature_names=diabetes.feature_names,
          orientation=orientation,
          fancy=fancy,
          X=X,
      )
  
      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 4 for calling a global function with example usage: viz_diabetes(orientation, max_depth, random_state, fancy, pickX) and returns: viz