def _ipython_display_(self):
    'Display history graph'
    if hasattr(self, 'graph'):
        return self.graph._ipython_display_()
    from IPython.display import display
    display({'text/plain': 'Trial {}'.format(self.id)}, raw=True)
Display history graph
def _ipython_display_(self):
    
    if hasattr(self, 'graph'):
        return self.graph._ipython_display_()
    from IPython.display import display
    display({'text/plain': 'Trial {}'.format(self.id)}, raw=True)