def _ipython_display_(self, **kwargs): html_temp = Template(''' <table> <tr> <td> <img src="$thumbnail"> </td> <td> <p>title:$title</p> <p>id:$id</p> <p>description:$description</p> </td> </tr> </table> ''') html_widget = HTML(value=html_temp.substitute(self.viewerMap.__dict__)) html_widget._ipython_display_(**kwargs)