code: def test_plot(data, data_pd, close_figures):
      mod = MSTL(endog=data, periods=5)
      res = mod.fit()
      res.plot()
  
      mod = MSTL(endog=data_pd, periods=5)
      res = mod.fit()
      res.plot()
  
file_path: statsmodels/statsmodels/tsa/stl/tests/test_mstl.py
imports: from pathlib import Path
  from numpy.testing import assert_allclose, assert_equal
  import pandas
  import pytest
  from statsmodels.tsa.seasonal import MSTL
label_desc: Use image node_id 11 for calling a global function with example usage: test_plot(data, data_pd, close_figures) without return types