MCPcopy Create free account
hub / github.com/ipython/ipython / update_display

Function update_display

IPython/core/display.py:326–343  ·  view source on GitHub ↗

Update an existing display by id Parameters ---------- obj: The object with which to update the display display_id: keyword-only The id of the display to update See Also -------- :func:`display`

(obj, *, display_id, **kwargs)

Source from the content-addressed store, hash-verified

324
325# use * for keyword-only display_id arg
326def update_display(obj, *, display_id, **kwargs):
327 """Update an existing display by id
328
329 Parameters
330 ----------
331
332 obj:
333 The object with which to update the display
334 display_id: keyword-only
335 The id of the display to update
336
337 See Also
338 --------
339
340 :func:`display`
341 """
342 kwargs['update'] = True
343 display(obj, display_id=display_id, **kwargs)
344
345
346class DisplayHandle(object):

Callers 1

updateMethod · 0.85

Calls 1

displayFunction · 0.70

Tested by

no test coverage detected