docstr: Function used for the pairwise_consistency_plot to update the layout of the plotly figure.
  
  Parameters
  ----------
  fig : figure
      Plotly figure
  top_features : array
      Top features to display ordered by mean of absolute contributions across all the selected points
  xaxis_title : str
      Title for the x-axis
  yaxis_title : str
      Title for the y-axis
  file_name: string
      Specify the save path of html files. If it is not provided, no file will be saved.
  auto_open: bool
      open automatically the plot
docstr_tok: ["Function","used","for","the","pairwise_consistency_plot","to","update","the","layout","of","the","plotly","figure",".","Parameters","--","--","--","--","--","fig",":","figure","Plotly","figure","top_features",":","array","Top","features","to","display","ordered","by","mean","of","absolute","contributions","across","all","the","selected","points","xaxis_title",":","str","Title","for","the","x-axis","yaxis_title",":","str","Title","for","the","y-axis","file_name",":","string","Specify","the","save","path","of","html","files",".","If","it","is","not","provided",",","no","file","will","be","saved",".","auto_open",":","bool","open","automatically","the","plot"]
code: def _update_pairwise_consistency_fig(
      self,
      fig,
      top_features,
      xaxis_title,
      yaxis_title,
      file_name,
      auto_open,
  ):
      """Function used for the pairwise_consistency_plot to update the layout of the plotly figure.
  
      Parameters
      ----------
      fig : figure
          Plotly figure
      top_features : array
          Top features to display ordered by mean of absolute contributions across all the selected points
      xaxis_title : str
          Title for the x-axis
      yaxis_title : str
          Title for the y-axis
      file_name: string
          Specify the save path of html files. If it is not provided, no file will be saved.
      auto_open: bool
          open automatically the plot
      """
      title = "Pairwise comparison of Consistency:"
      title += "<span style='font-size: 16px;'>\
                   <br />How are differences in contributions distributed across features?</span>"
      dict_t = copy.deepcopy(self._style_dict["dict_title_stability"])
      dict_xaxis = copy.deepcopy(self._style_dict["dict_xaxis"])
      dict_yaxis = copy.deepcopy(self._style_dict["dict_yaxis"])
      dict_xaxis["text"] = xaxis_title
      dict_yaxis["text"] = yaxis_title
      dict_t["text"] = title
  
      fig.layout.yaxis.update(showticklabels=True)
      fig.layout.yaxis2.update(showticklabels=False)
      fig.update_layout(
          template="none",
          title=dict_t,
          xaxis_title=dict_xaxis,
          yaxis_title=dict_yaxis,
          yaxis=dict(range=[-0.7, len(top_features) - 0.3]),
          yaxis2=dict(range=[-0.7, len(top_features) - 0.3]),
          height=max(500, 40 * len(top_features)),
      )
  
      fig.update_yaxes(automargin=True, zeroline=False)
      fig.update_xaxes(automargin=True)
  
      if file_name is not None:
          plot(fig, filename=file_name, auto_open=auto_open)
  
imports: from category_encoders import OrdinalEncoder
  import copy
  import itertools
  import matplotlib.pyplot
  import numpy
  import pandas
  from plotly import graph_objs
  from plotly.offline import plot
  from plotly.subplots import make_subplots
  from sklearn.manifold import MDS
  from shapash import SmartExplainer
  from shapash.style.style_utils import colors_loading, select_palette, define_style
label_desc: Use image node_id 16 for calling the Consistency obj's underlying member method code with example usage: obj._update_pairwise_consistency_fig(fig, top_features, xaxis_title, yaxis_title, file_name, auto_open) without return types