code: def plot_components(
      m,
      fcst,
      uncertainty=True,
      plot_cap=True,
      weekly_start=0,
      yearly_start=0,
      figsize=None,
      **kwargs,
  ):
      """
      Plot the NeuralProphet forecast components.
  
      Will plot whichever are available of: trend, holidays, weekly
      seasonality, yearly seasonality, and additive and multiplicative extra
      regressors.
  
      Parameters
      ----------
      m: NeuralProphet model.
      fcst: pd.DataFrame output of m.predict.
      uncertainty: Not supported in NeuralProphet.
      plot_cap: Not supported in NeuralProphet.
      weekly_start: Not supported in NeuralProphet.
      yearly_start: Not supported in NeuralProphet.
      figsize: Optional tuple width, height in inches.
  
      Returns
      -------
      A matplotlib figure.
      """
      log.warning(
          "The attributes `uncertainty`, `plot_cap`, `weekly_start` and `yearly_start` are not supported by NeuralProphet"
      )
      # Run the NeuralProphet plotting function
      fig = m.plot_components(fcst, **kwargs)
      return fig
  
imports: import logging
  import numpy
  from neuralprophet.forecaster import NeuralProphet
label_desc: Use image node_id 3 for calling a global function with example usage: plot_components(m, fcst, uncertainty, plot_cap, weekly_start, yearly_start, figsize) and returns: fig