##// END OF EJS Templates
Removed hook for displayout widgets
Jonathan Frederic -
Show More
@@ -241,16 +241,13 b' class DisplayHook(Configurable):'
241 """
241 """
242 self.check_for_underscore()
242 self.check_for_underscore()
243 if result is not None and not self.quiet():
243 if result is not None and not self.quiet():
244 if hasattr(result, '_repr_widget_'):
244 self.start_displayhook()
245 result._repr_widget_()
245 self.write_output_prompt()
246 else:
246 format_dict, md_dict = self.compute_format_data(result)
247 self.start_displayhook()
247 self.write_format_data(format_dict, md_dict)
248 self.write_output_prompt()
248 self.update_user_ns(result)
249 format_dict, md_dict = self.compute_format_data(result)
249 self.log_output(format_dict)
250 self.write_format_data(format_dict, md_dict)
250 self.finish_displayhook()
251 self.update_user_ns(result)
252 self.log_output(format_dict)
253 self.finish_displayhook()
254
251
255 def flush(self):
252 def flush(self):
256 if not self.do_full_cache:
253 if not self.do_full_cache:
General Comments 0
You need to be logged in to leave comments. Login now