Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/matplotlib/matplotlib
/ get_pagecount
Method
get_pagecount
lib/matplotlib/backends/backend_pgf.py:1018–1020 ·
view source on GitHub ↗
Return the current number of pages in the multipage pdf file.
(self)
Source
from the content-addressed store, hash-verified
1016
self._n_figures += 1
1017
1018
def
get_pagecount(self):
1019
""
"Return the current number of pages in the multipage pdf file."
""
1020
return
self._n_figures
Callers
2
test_multipage_pagecount
Function · 0.45
test_pdf_pages
Function · 0.45
Calls
no outgoing calls
Tested by
2
test_multipage_pagecount
Function · 0.36
test_pdf_pages
Function · 0.36