code: def plotkernelsample(k, ax, xmin=0, xmax=3):
      xx = np.linspace(xmin, xmax, 300)[:, None]
      K = k(xx)
      ax.plot(xx, np.random.multivariate_normal(np.zeros(300), K, 5).T)
      ax.set_title("Samples " + k.__class__.__name__)
  
file_path: GPflow/notebooks/tailor/kernel_design.pct.py
imports: import matplotlib.pyplot
  import numpy
  import tensorflow
  import gpflow
  from gpflow.utilities import positive, print_summary
label_desc: Use image node_id 1 for calling a global function with example usage: plotkernelsample(k, ax, xmin, xmax) without return types