From e7a1db826a44f5adf8e35f4f8b8b93bc5e062180 Mon Sep 17 00:00:00 2001 From: Khushikela29 Date: Wed, 8 Jan 2025 23:30:36 +0530 Subject: [PATCH 1/2] Clarify backend support for attach_note in multipage PDF example --- galleries/examples/misc/multipage_pdf.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/galleries/examples/misc/multipage_pdf.py b/galleries/examples/misc/multipage_pdf.py index 4e0ef9939be0..8abb5915849e 100644 --- a/galleries/examples/misc/multipage_pdf.py +++ b/galleries/examples/misc/multipage_pdf.py @@ -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 +need to use `from matplotlib.backends.backend_pgf import +PdfPages`. The `pgf` backend, however, does not support `attach_note`, +whereas the `pdf` backend does. """ import datetime From 6783178a44ff95c5e55118e9ddc6386660b656f2 Mon Sep 17 00:00:00 2001 From: Khushikela29 Date: Sat, 11 Jan 2025 09:42:52 +0530 Subject: [PATCH 2/2] Removed the sentence --- galleries/examples/misc/multipage_pdf.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/galleries/examples/misc/multipage_pdf.py b/galleries/examples/misc/multipage_pdf.py index 8abb5915849e..e04cd0431f87 100644 --- a/galleries/examples/misc/multipage_pdf.py +++ b/galleries/examples/misc/multipage_pdf.py @@ -6,10 +6,6 @@ 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`. The `pgf` backend, however, does not support `attach_note`, -whereas the `pdf` backend does. """ import datetime pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy