code: def layout(self):
      return dbc.Card(
          [
              make_hideable(
                  dbc.CardHeader(
                      [
                          html.Div(
                              [
                                  html.H3(
                                      self.title,
                                      id="shap-summary-title-"
                                      + self.name,
                                  ),
                                  make_hideable(
                                      html.H6(
                                          self.subtitle,
                                          className="card-subtitle",
                                      ),
                                      hide=self.hide_subtitle,
                                  ),
                                  dbc.Tooltip(
                                      self.description,
                                      target="shap-summary-title-"
                                      + self.name,
                                  ),
                              ]
                          ),
                      ]
                  ),
                  hide=self.hide_title,
              ),
              dbc.CardBody(
                  [
                      dbc.Row(
                          [
                              make_hideable(
                                  dbc.Col(
                                      [
                                          dbc.Label(
                                              "Depth:",
                                              id="shap-summary-depth-label-"
                                              + self.name,
                                          ),
                                          dbc.Tooltip(
                                              "Number of features to display",
                                              target="shap-summary-depth-label-"
                                              + self.name,
                                          ),
                                          dbc.Select(
                                              id="shap-summary-depth-"
                                              + self.name,
                                              options=[
                                                  {
                                                      "label": str(
                                                          i + 1
                                                      ),
                                                      "value": i + 1,
                                                  }
                                                  for i in range(
                                                      self.explainer.n_features
                                                  )
                                              ],
                                              size="sm",
                                              value=self.depth,
                                          ),
                                      ],
                                      md=2,
                                  ),
                                  self.hide_depth,
                              ),
                              make_hideable(
                                  dbc.Col(
                                      [
                                          dbc.Row(
                                              [
                                                  dbc.Label(
                                                      "Summary Type",
                                                      id="shap-summary-type-label-"
                                                      + self.name,
                                                  ),
                                                  dbc.Tooltip(
                                                      "Display mean absolute SHAP value per feature (aggregate)"
                                                      " or display every single shap value per feature (detailed)",
                                                      target="shap-summary-type-label-"
                                                      + self.name,
                                                  ),
                                                  dbc.Select(
                                                      options=[
                                                          {
                                                              "label": "Aggregate",
                                                              "value": "aggregate",
                                                          },
                                                          {
                                                              "label": "Detailed",
                                                              "value": "detailed",
                                                          },
                                                      ],
                                                      value=self.summary_type,
                                                      size="sm",
                                                      id="shap-summary-type-"
                                                      + self.name,
                                                  ),
                                              ]
                                          )
                                      ]
                                  ),
                                  self.hide_type,
                              ),
                              make_hideable(
                                  dbc.Col(
                                      [
                                          html.Div(
                                              [
                                                  dbc.Label(
                                                      f"{self.explainer.index_name}:",
                                                      id="shap-summary-index-label-"
                                                      + self.name,
                                                  ),
                                                  dbc.Tooltip(
                                                      f"Select {self.explainer.index_name} to highlight in plot. "
                                                      "You can also select by clicking on a scatter point in the graph.",
                                                      target="shap-summary-index-label-"
                                                      + self.name,
                                                  ),
                                                  self.index_selector.layout(),
                                              ],
                                              id="shap-summary-index-col-"
                                              + self.name,
                                              style=dict(
                                                  display="none"
                                              ),
                                          ),
                                      ],
                                      md=3,
                                  ),
                                  hide=self.hide_index,
                              ),
                              make_hideable(
                                  dbc.Col(
                                      [self.selector.layout()], width=2
                                  ),
                                  hide=self.hide_selector,
                              ),
                          ]
                      ),
                      dcc.Loading(
                          id="loading-dependence-shap-summary-"
                          + self.name,
                          children=[
                              dcc.Graph(
                                  id="shap-summary-graph-" + self.name,
                                  config=dict(
                                      modeBarButtons=[["toImage"]],
                                      displaylogo=False,
                                  ),
                              )
                          ],
                      ),
                      dbc.Row(
                          [
                              make_hideable(
                                  dbc.Col(
                                      [self.popout.layout()],
                                      md=2,
                                      align="start",
                                  ),
                                  hide=self.hide_popout,
                              ),
                          ],
                          justify="end",
                      ),
                  ]
              ),
          ],
          class_name="h-100",
      )
  
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 2 for calling the ShapSummaryComponent obj's underlying member method code with example usage: obj.layout() and returns: dbc