Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Description
Documentation Link
https://matplotlib.org/stable/gallery/misc/multipage_pdf.html
Problem
The issue is in the first two paragraphs of the page.
This is a demo of creating a pdf file with several pages, as well as adding metadata and annotations to pdf files.
If you want to use a multipage pdf file using LaTeX, you need to use from matplotlib.backends.backend_pgf import PdfPages. This version however does not supportattach_note.
Reading, it is unclear whether "this" in the last sentence refers topdf
backend (as suggested by it being on the page for it) orpgf
(as suggested by it being in the paragraph aboutpgf
).
Only after clickking on the hyperlinkedattach_note
do I have to notice that it is a documentation page for a specific backend (which isn't obvious, being sent to an anchor in the middle of the document without header visible). From there, seeing thatpdf
hasattach_note()
I can infer thatpgf
doesn't. That string of logic is quite long for something that should have been clearly stated.
Suggested improvement
Change "this" to "that" in the last quoted sentence would probably make it clearer it is referring to the backendnot used in the example. Or perhaps a different change in wording.