code: def save_to_file(self,
                       file_path,
                       labels=None,
                       predict_proba=True,
                       show_predicted_value=True,
                       **kwargs):
          
          file_ = open(file_path, 'w', encoding='utf8')
          file_.write(self.as_html(labels=labels,
                                   predict_proba=predict_proba,
                                   show_predicted_value=show_predicted_value,
                                   **kwargs))
          file_.close()
docs: Saves html explanation to file. .
  
          Params:
              file_path: file to save explanations to
  
          See as_html() for additional parameters.