code: def plot_kernel(
      kernel: gpflow.kernels.Kernel, *, optimise: bool = True
  ) -> None:
      _, (samples_ax, prediction_ax) = plt.subplots(nrows=1, ncols=2)
      plot_kernel_samples(samples_ax, kernel)
      plot_kernel_prediction(prediction_ax, kernel, optimise=optimise)
  
file_path: GPflow/doc/sphinx/notebooks/getting_started/kernels.pct.py
imports: import os
  import warnings
  from copy import deepcopy
  import matplotlib.pyplot
  import numpy
  import tensorflow
  from matplotlib.axes import Axes
  from matplotlib.cm import coolwarm
  import gpflow
label_desc: Use image node_id 4 for calling a global function with example usage: plot_kernel(kernel) without return types