code: def test_baseline_plot(self):
      print("-" * 80)
      logger.info("test_baseline_plot\n" + "-" * 80 + "\n")
  
      # check upper and lower bounds and baselines
      figure = self.model.get_baseline_figure(self.vals_test)
      self.assertTrue(
          (
              figure.yhat_iqr.univariates["lb"].np_values
              < figure.yhat.np_values
          ).all()
      )
      self.assertTrue(
          (
              figure.yhat_iqr.univariates["ub"].np_values
              > figure.yhat.np_values
          ).all()
      )
  
      # test plot with matplotlib
      figdir = join(rootdir, "tmp", "dbl_plot")
      os.makedirs(figdir, exist_ok=True)
      figure.plot()[0].savefig(join(figdir, "dbl_plot.png"))
  
      # Test plotting with plotly
      try:
          import plotly
  
          fig = figure.plot_plotly()
          try:
              import kaleido
  
              fig.write_image(
                  (join(figdir, "dbl_plotly.png")), engine="kaleido"
              )
          except ImportError:
              logger.info(
                  "kaleido not installed, not trying to save image"
              )
      except ImportError:
          logger.info(
              "plotly not installed, not trying plotly visualization"
          )
  
imports: from functools import reduce
  import logging
  import os
  from os.path import abspath, dirname, join
  import sys
  import unittest
  import numpy
  import pandas
  from merlion.models.anomaly.dbl import DynamicBaseline, DynamicBaselineConfig, Trend
  from merlion.utils.ts_generator import GeneratorConcatenator, TimeSeriesGenerator
  from merlion.utils.resample import to_pd_datetime
label_desc: Use image node_id 9 for calling the TestDynamicBaseline obj's underlying member method code with example usage: obj.test_baseline_plot() without return types