code: def test_plot_components_prophet():
      X = pd.DataFrame(
          {
              cst.TIME_COL: pd.date_range(
                  "2018-01-01", periods=10, freq="D"
              ),
              cst.VALUE_COL: np.arange(1, 11),
          }
      )
      coverage = 0.95
  
      # Test Prophet
      trained_model = Pipeline(
          [("estimator", ProphetEstimator(coverage=coverage))]
      )
      trained_model.fit(X, X[cst.VALUE_COL])
      forecast = get_forecast(X, trained_model)
      fig = forecast.plot_components()
      assert fig is not None
  
imports: import datetime
  import math
  import sys
  from functools import partial
  import numpy
  import pandas
  import pytest
  from pandas.testing import assert_frame_equal
  from pandas.testing import assert_series_equal
  from sklearn.pipeline import Pipeline
  from greykite.common import constants
  from greykite.common.evaluation import ElementwiseEvaluationMetricEnum
  from greykite.common.evaluation import EvaluationMetricEnum
  from greykite.common.python_utils import assert_equal
  from greykite.common.testing_utils import gen_sliced_df
  from greykite.framework.input.univariate_time_series import UnivariateTimeSeries
  from greykite.framework.output.univariate_forecast import UnivariateForecast
  from greykite.framework.pipeline.utils import get_forecast
  from greykite.sklearn.estimator.prophet_estimator import ProphetEstimator
  from greykite.sklearn.estimator.silverkite_estimator import SilverkiteEstimator
  from greykite.sklearn.estimator.testing_utils import params_component_breakdowns
label_desc: Use image node_id 19 for calling a global function with example usage: test_plot_components_prophet() without return types