code: def plot_forecast_component_plotly(
      m,
      fcst,
      name,
      uncertainty=True,
      plot_cap=False,
      figsize=(900, 300),
  ):
      """Plot an particular component of the forecast using Plotly.
      See plot_plotly() for Plotly setup instructions
  
      Parameters
      ----------
      m: Prophet model.
      fcst: pd.DataFrame output of m.predict.
      name: Name of the component to plot.
      uncertainty: Optional boolean to plot uncertainty intervals, which will
          only be done if m.uncertainty_samples > 0.
      plot_cap: Optional boolean indicating if the capacity should be shown
          in the figure, if available.
      figsize: The plot's size (in px).
  
      Returns
      -------
      A Plotly Figure.
      """
      props = get_forecast_component_plotly_props(
          m, fcst, name, uncertainty, plot_cap
      )
      layout = go.Layout(
          width=figsize[0],
          height=figsize[1],
          showlegend=False,
          xaxis=props["xaxis"],
          yaxis=props["yaxis"],
      )
      fig = go.Figure(data=props["traces"], layout=layout)
      return fig
  
imports: from __future__ import absolute_import, division, print_function
  import logging
  import numpy
  import pandas
  from prophet.diagnostics import performance_metrics
label_desc: Use image node_id 13 for calling a global function with example usage: plot_forecast_component_plotly(m, fcst, name, uncertainty, plot_cap, figsize) and returns: fig