code: def layout(self):
      return dbc.Card(
          [
              make_hideable(
                  dbc.CardHeader(
                      [
                          html.Div(
                              [
                                  html.H3(
                                      self.title,
                                      className="card-title",
                                      id="importances-title-"
                                      + self.name,
                                  ),
                                  make_hideable(
                                      html.H6(
                                          self.subtitle,
                                          className="card-subtitle",
                                      ),
                                      hide=self.hide_subtitle,
                                  ),
                                  dbc.Tooltip(
                                      self.description,
                                      target="importances-title-"
                                      + self.name,
                                  ),
                              ]
                          ),
                      ]
                  ),
                  hide=self.hide_title,
              ),
              dbc.CardBody(
                  [
                      dbc.Row(
                          [
                              make_hideable(
                                  dbc.Col(
                                      [
                                          dbc.Label(
                                              "Importances type:"
                                          ),
                                          dbc.Select(
                                              options=[
                                                  {
                                                      "label": "Permutation Importances",
                                                      "value": "permutation",
                                                  },
                                                  {
                                                      "label": "SHAP values",
                                                      "value": "shap",
                                                  },
                                              ],
                                              value=self.importance_type,
                                              size="sm",
                                              id="importances-permutation-or-shap-"
                                              + self.name,
                                          ),
                                          dbc.Tooltip(
                                              "Select Feature importance type: \n"
                                              "Permutation Importance: How much does performance metric decrease when shuffling this feature?\n"
                                              "SHAP values: What is the average SHAP contribution (positive or negative) of this feature?",
                                              target="importances-permutation-or-shap-form-"
                                              + self.name,
                                          ),
                                      ],
                                      md=3,
                                      id="importances-permutation-or-shap-form-"
                                      + self.name,
                                  ),
                                  self.hide_type,
                              ),
                              make_hideable(
                                  dbc.Col(
                                      [
                                          dbc.Label(
                                              "Depth:",
                                              id="importances-depth-label-"
                                              + self.name,
                                          ),
                                          dbc.Select(
                                              id="importances-depth-"
                                              + self.name,
                                              options=[
                                                  {
                                                      "label": str(
                                                          i + 1
                                                      ),
                                                      "value": i + 1,
                                                  }
                                                  for i in range(
                                                      self.explainer.n_features
                                                  )
                                              ],
                                              size="sm",
                                              value=self.depth,
                                          ),
                                          dbc.Tooltip(
                                              "Select how many features to display",
                                              target="importances-depth-label-"
                                              + self.name,
                                          ),
                                      ],
                                      md=2,
                                  ),
                                  self.hide_depth,
                              ),
                              make_hideable(
                                  dbc.Col(
                                      [self.selector.layout()], width=2
                                  ),
                                  hide=self.hide_selector,
                              ),
                          ]
                      ),
                      dbc.Row(
                          [
                              dbc.Col(
                                  [
                                      dcc.Loading(
                                          id="importances-graph-loading-"
                                          + self.name,
                                          children=dcc.Graph(
                                              id="importances-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: from math import ceil
  import numpy
  import pandas
  import dash
  from dash import html, dcc, Input, Output, State, dash_table
  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 ImportancesComponent obj's underlying member method code with example usage: obj.layout() and returns: dbc