Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/ipython
/ _repr_pdf_
Method
_repr_pdf_
IPython/core/tests/test_formatters.py:304–305 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
302
303
class
MakePDF(object):
304
def
_repr_pdf_(self):
305
return
'PDF'
306
307
def
test_pdf_formatter():
308
pdf = MakePDF()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected