class_docstr: Bridge pattern decoupling the application part from SmartExplainer and SmartPlotter.
  Attributes
  ----------
  explainer: object
      SmartExplainer instance to point to.
class_docstr_tok: ["Bridge","pattern","decoupling","the","application","part","from","SmartExplainer","and","SmartPlotter",".","Attributes","--","--","--","--","--","explainer",":","object","SmartExplainer","instance","to","point","to","."]
docstr: Method which return a component from a type and id.
  It's the method to insert component inside component container.
  Parameters
  ----------
  component_type : string
      Type of the component. Can be table, graph, ...
  component_id : string
      Id of the component. It must be unique.
  title : string, optional
      by default None
  Returns
  -------
  list
      list of components
      (combining for example Graph + embed button to get fullscreen
       details)
docstr_tok: ["Method","which","return","a","component","from","a","type","and","id",".","It","'s","the","method","to","insert","component","inside","component","container",".","Parameters","--","--","--","--","--","component_type",":","string","Type","of","the","component",".","Can","be","table",",","graph",",","...","component_id",":","string","Id","of","the","component",".","It","must","be","unique",".","title",":","string",",","optional","by","default","None","Returns","--","--","--","-","list","list","of","components","(","combining","for","example","Graph","+","embed","button","to","get","fullscreen","details",")"]
code: def draw_component(self, component_type, component_id, title=None):
      """
      Method which return a component from a type and id.
      It's the method to insert component inside component container.
      Parameters
      ----------
      component_type : string
          Type of the component. Can be table, graph, ...
      component_id : string
          Id of the component. It must be unique.
      title : string, optional
          by default None
      Returns
      -------
      list
          list of components
          (combining for example Graph + embed button to get fullscreen
           details)
      """
      component = [html.H4(title)] if title else []
      component.append(self.components[component_type][component_id])
      component.append(
          html.A(
              html.I(
                  "fullscreen",
                  className="material-icons tiny",
                  style={"marginTop": "8px", "marginLeft": "1px"},
              ),
              id=f"ember_{component_id}",
              className="dock-expand",
              **{"data-component-type": component_type},
              # Get components'id
              **{"data-component-id": component_id},
          )
      )
      return component
  
imports: import copy
  import dash
  from dash import dash_table
  import dash_daq
  from dash import no_update
  from dash.exceptions import PreventUpdate
  import dash_bootstrap_components
  from dash import dcc
  from dash import html
  from dash import MATCH, ALL
  from dash.dependencies import Output, Input, State
  from flask import Flask
  import pandas
  import plotly.graph_objs
  import random
  import re
  from math import log10
  from shapash.webapp.utils.utils import check_row, get_index_type, round_to_k
  from shapash.webapp.utils.MyGraph import MyGraph
  from shapash.utils.utils import truncate_str
  from shapash.webapp.utils.explanations import Explanations
  from shapash.webapp.utils.callbacks import select_data_from_prediction_picking, select_data_from_str_filters, select_data_from_bool_filters, select_data_from_numeric_filters, select_data_from_date_filters, get_feature_from_clicked_data, get_feature_from_features_groups, get_group_name, get_indexes_from_datatable, update_click_data_on_subset_changes, get_figure_zoom, get_feature_contributions_sign_to_show, update_features_to_display, get_id_card_features, get_id_card_contrib, create_id_card_data, create_id_card_layout, get_feature_filter_options, create_dropdown_feature_filter, create_filter_modalities_selection
label_desc: Use image node_id 6 for calling the SmartApp obj's underlying member method code with example usage: obj.draw_component(component_type, component_id, title) and returns: component