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

Method outputs

IPython/utils/capture.py:100–110  ·  view source on GitHub ↗

A list of the captured rich display outputs, if any. If you have a CapturedIO object ``c``, these can be displayed in IPython using:: from IPython.display import display for o in c.outputs: display(o)

(self)

Source from the content-addressed store, hash-verified

98
99 @property
100 def outputs(self):
101 """A list of the captured rich display outputs, if any.
102
103 If you have a CapturedIO object ``c``, these can be displayed in IPython
104 using::
105
106 from IPython.display import display
107 for o in c.outputs:
108 display(o)
109 """
110 return [ RichOutput(**kargs) for kargs in self._outputs ]
111
112 def show(self):
113 """write my output to sys.stdout/err as appropriate"""

Callers

nothing calls this directly

Calls 1

RichOutputClass · 0.85

Tested by

no test coverage detected