code: def get_explanation_index(explanation_list, explanation_type):
      for i, explanation in enumerate(explanation_list):
          if explanation["explanation_type"] == explanation_type:
              return i
      return None
  
imports: import plotly.graph_objs
  import numpy
  from plotly import subplots
  import matplotlib.pyplot
  from numbers import Number
  import logging
label_desc: Use image node_id 21 for calling a global function with example usage: get_explanation_index(explanation_list, explanation_type) and returns: None, i