code: def test_plot_time_series_with_change_points(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"]
  
      fig, ax = plot_time_series_with_change_points(
          ts_name, ts, true_cps, font_size
      )
  
      assert isinstance(fig, plt.Figure)
      assert isinstance(ax, plt.Axes)
      assert ax.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 2 for calling a global function with example usage: test_plot_time_series_with_change_points(time_series_data) without return types