code: def test_plot_time_series_with_profiles(time_series_data):
      import matplotlib.pyplot as plt
  
      # Access data from the fixture
      ts_name = time_series_data["ts_name"]
      ts = time_series_data["ts"]
      true_cps = time_series_data["true_cps"]
      font_size = time_series_data["font_size"]
      profiles = time_series_data["profiles"]
      found_cps = time_series_data["found_cps"]
      score_name = time_series_data["score_name"]
  
      fig, ax = plot_time_series_with_profiles(
          ts_name,
          ts,
          profiles,
          true_cps,
          found_cps,
          score_name,
          font_size,
      )
  
      assert isinstance(fig, plt.Figure)
      assert isinstance(ax, np.ndarray)
      assert ax[0].get_title() == ts_name
  
imports: import numpy
  import pandas
  import pytest
  from sktime.annotation.plotting.utils import plot_time_series_with_change_points, plot_time_series_with_profiles
  from sktime.utils.validation._dependencies import _check_soft_dependencies
label_desc: Use image node_id 3 for calling a global function with example usage: test_plot_time_series_with_profiles(time_series_data) without return types