def get_jupyter(self):
    from IPython.core.display import HTML, Image, display
    for (b, result) in self.result.items():
        error = (self.result[b]['else'] if ('else' in self.result[b]) else None)
        if error:
            display(HTML(error))
        else:
            display(HTML(self.result[b]['Importance']['table']))
            display(*list([Image(filename=d['figure']) for d in self.result[b]['Marginals'].values()]))
            display(*list([Image(filename=d['figure']) for d in self.result[b]['Pairwise Marginals'].values()]))
def get_jupyter(self):
    from IPython.core.display import HTML, Image, display
    for (b, result) in self.result.items():
        error = (self.result[b]['else'] if ('else' in self.result[b]) else None)
        if error:
            display(HTML(error))
        else:
            display(HTML(self.result[b]['Importance']['table']))
            display(*list([Image(filename=d['figure']) for d in self.result[b]['Marginals'].values()]))
            display(*list([Image(filename=d['figure']) for d in self.result[b]['Pairwise Marginals'].values()]))