code: def test_ardl_smoke_plots(data, seasonal, trend, close_figures):
      from matplotlib.figure import Figure
  
      mod = ARDL(
          data.y,
          3,
          trend=trend,
          seasonal=seasonal,
      )
      res = mod.fit()
      fig = res.plot_diagnostics()
      assert isinstance(fig, Figure)
      fig = res.plot_predict(end=100)
      assert isinstance(fig, Figure)
      fig = res.plot_predict(end=75, alpha=None, in_sample=False)
      assert isinstance(fig, Figure)
      assert isinstance(res.summary(), Summary)
  
imports: from typing import NamedTuple
  import numpy
  from numpy.testing import assert_allclose
  import pandas
  from pandas.testing import assert_index_equal
  import pytest
  from statsmodels.datasets import danish_data
  from statsmodels.iolib.summary import Summary
  from statsmodels.tools.sm_exceptions import SpecificationWarning
  from statsmodels.tsa.ar_model import AutoReg
  from statsmodels.tsa.ardl.model import ARDL, UECM, ARDLResults, ardl_select_order
  from statsmodels.tsa.deterministic import DeterministicProcess
label_desc: Use image node_id 45 for calling a global function with example usage: test_ardl_smoke_plots(data, seasonal, trend, close_figures) without return types