code: def show_in_notebook(self,
                           labels=None,
                           predict_proba=True,
                           show_predicted_value=True,
                           **kwargs):
          
  
          from IPython.core.display import display, HTML
          display(HTML(self.as_html(labels=labels,
                                    predict_proba=predict_proba,
                                    show_predicted_value=show_predicted_value,
                                    **kwargs)))
docs: Shows html explanation in ipython notebook.
  
          See as_html() for parameters.
          This will throw an error if you don't have IPython installed