##// END OF EJS Templates
Easier empty, updatable display
Vidar Tonaas Fauske -
Show More
@@ -296,6 +296,13 b' def display(*objs, include=None, exclude=None, metadata=None, transient=None, di'
296 296 if transient:
297 297 kwargs['transient'] = transient
298 298
299 if not objs and display_id:
300 # if given no objects, but still a request for a display_id,
301 # we assume the user wants to insert an empty output that
302 # can be updated later
303 objs = [{}]
304 raw = True
305
299 306 if not raw:
300 307 format = InteractiveShell.instance().display_formatter.format
301 308
General Comments 0
You need to be logged in to leave comments. Login now