docstr: Connect the index selector of input_index with those of output_indexes.
  
  You can use this to connect a RandomIndexComponent with a
  PredictionSummaryComponent for example.
  
  When you change the index in input_index, all the indexes in output_indexes
  will automatically be updated.
  
  Args:
      input_index ([{str, ExplainerComponent}]): Either a str or an
                  ExplainerComponent. If str should be equal to the
                  name of the index property. If ExplainerComponent then
                  should have a .index_name property.
      output_indexes (list(str, ExplainerComponent)): list of str of
                  ExplainerComponents.
docstr_tok: ["Connect","the","index","selector","of","input_index","with","those","of","output_indexes",".","You","can","use","this","to","connect","a","RandomIndexComponent","with","a","PredictionSummaryComponent","for","example",".","When","you","change","the","index","in","input_index",",","all","the","indexes","in","output_indexes","will","automatically","be","updated",".","Args",":","input_index","(","[","{","str",",","ExplainerComponent","}","]",")",":","Either","a","str","or","an","ExplainerComponent",".","If","str","should","be","equal","to","the","name","of","the","index","property",".","If","ExplainerComponent","then","should","have","a",".index_name","property",".","output_indexes","(","list","(","str",",","ExplainerComponent",")",")",":","list","of","str","of","ExplainerComponents","."]
code: def __init__(self, input_index, output_indexes, explainer=None):
      """Connect the index selector of input_index with those of output_indexes.
  
      You can use this to connect a RandomIndexComponent with a
      PredictionSummaryComponent for example.
  
      When you change the index in input_index, all the indexes in output_indexes
      will automatically be updated.
  
      Args:
          input_index ([{str, ExplainerComponent}]): Either a str or an
                      ExplainerComponent. If str should be equal to the
                      name of the index property. If ExplainerComponent then
                      should have a .index_name property.
          output_indexes (list(str, ExplainerComponent)): list of str of
                      ExplainerComponents.
      """
      self.input_index_name = self.index_name(input_index)
      self.output_index_names = self.index_name(output_indexes)
      self.explainer = explainer
      if not isinstance(self.output_index_names, list):
          self.output_index_names = [self.output_index_names]
  
imports: import numpy
  import dash
  from dash import html, dcc, Input, Output, State
  from dash.exceptions import PreventUpdate
  import dash_bootstrap_components
  from ..dashboard_methods import *
label_desc: Use image node_id 1 to create a new IndexConnector object from inherited base classes: ExplainerComponent with example: obj = IndexConnector(input_index, output_indexes, explainer)