##// END OF EJS Templates
Merge pull request #11907 from vidartf/empty_display...
Matthias Bussonnier -
r25201:d262f0c4 merge
parent child Browse files
Show More
@@ -296,6 +296,13 b' def display(*objs, include=None, exclude=None, metadata=None, transient=None, di'
296 if transient:
296 if transient:
297 kwargs['transient'] = transient
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 if not raw:
306 if not raw:
300 format = InteractiveShell.instance().display_formatter.format
307 format = InteractiveShell.instance().display_formatter.format
301
308
General Comments 0
You need to be logged in to leave comments. Login now