code: def to_html(self, state_dict=None, add_header=True):
      args = self.get_state_args(state_dict)
      fig_top = self.explainer.plot_interaction(
          args["interact_col"],
          args["col"],
          highlight_index=args["index"],
          pos_label=args["pos_label"],
          topx=args["cats_topx"],
          sort=args["cats_sort"],
          max_cat_colors=self.max_cat_colors,
          plot_sample=self.plot_sample,
          remove_outliers=bool(args["remove_outliers"]),
      )
      fig_bottom = self.explainer.plot_interaction(
          args["col"],
          args["interact_col"],
          highlight_index=args["index"],
          pos_label=args["pos_label"],
          topx=args["cats_topx"],
          sort=args["cats_sort"],
          max_cat_colors=self.max_cat_colors,
          plot_sample=self.plot_sample,
          remove_outliers=bool(args["remove_outliers"]),
      )
  
      html = to_html.card(
          to_html.fig(fig_top) + to_html.fig(fig_bottom),
          title=self.title,
          subtitle=self.subtitle,
      )
      if add_header:
          return to_html.add_header(html)
      return html
  
imports: import dash
  from dash import html, dcc, Input, Output, State
  from dash.exceptions import PreventUpdate
  import dash_bootstrap_components
  from ..dashboard_methods import *
  from ..None import to_html
label_desc: Use image node_id 3 for calling the InteractionDependenceComponent obj's underlying member method code with example usage: obj.to_html(state_dict, add_header) and returns: html, to_html