8000 Fixes #29428 : Remove erroneous statement in multipage PDF example by Khushikela29 · Pull Request #29433 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Fixes #29428 : Remove erroneous statement in multipage PDF example #29433

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 11, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions galleries/examples/misc/multipage_pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
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 support `.attach_note`.
If you want to use a multipage pdf file using LaTeX, you

Check failure on line 9 in galleries/examples/misc/multipage_pdf.py

View workflow job for this annotation

GitHub Actions / flake8

[flake8] reported by reviewdog 🐶 W291 trailing whitespace Raw Output: ./galleries/examples/misc/multipage_pdf.py:9:57: W291 trailing whitespace
need to use `from matplotlib.backends.backend_pgf import

Check failure on line 10 in galleries/examples/misc/multipage_pdf.py

View workflow job for this annotation

GitHub Actions / flake8

[flake8] reported by reviewdog 🐶 W291 trailing whitespace Raw Output: ./galleries/examples/misc/multipage_pdf.py:10:57: W291 trailing whitespace
PdfPages`. The `pgf` backend, however, does not support `attach_note`,

Check failure on line 11 in galleries/examples/misc/multipage_pdf.py

View workflow job for this annotation

GitHub Actions / flake8

[flake8] reported by reviewdog 🐶 W291 trailing whitespace Raw Output: ./galleries/examples/misc/multipage_pdf.py:11:71: W291 trailing whitespace
whereas the `pdf` backend does.
"""

import datetime
Expand Down
Loading
0