Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/matplotlib/matplotlib
/ test_pdfpages_fspath
Function
test_pdfpages_fspath
lib/matplotlib/tests/test_backend_pdf.py:294–296 ·
view source on GitHub ↗
(tmp_path)
Source
from the content-addressed store, hash-verified
292
293
294
def
test_pdfpages_fspath(tmp_path):
295
with
PdfPages(tmp_path /
'unused.pdf'
)
as
pdf:
296
pdf.savefig(plt.figure())
297
298
299
@image_comparison([
'hatching_legend.pdf'
], style=
'mpl20'
)
Callers
nothing calls this directly
Calls
3
PdfPages
Class · 0.90
figure
Method · 0.80
savefig
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…