Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e55172 commit 3fa4701Copy full SHA for 3fa4701
1 file changed
doc/users/next_whats_new/pgf_pdfpages.rst
@@ -0,0 +1,19 @@
1
+Multipage PDF support for pgf backend
2
+-------------------------------------
3
+
4
+The pgf backend now also supports multipage PDF files.
5
6
+.. code-block:: python
7
8
+ from matplotlib.backends.backend_pgf import PdfPages
9
+ import matplotlib.pyplot as plt
10
11
+ with PdfPages('multipage.pdf') as pdf:
12
+ # page 1
13
+ plt.plot([2, 1, 3])
14
+ pdf.savefig()
15
16
+ # page 2
17
+ plt.cla()
18
+ plt.plot([3, 1, 2])
19
0 commit comments