@@ -89,6 +89,26 @@ animation. This can be displayed using IPython's ``HTML`` display class::
89
89
The `~matplotlib.animation.HTMLWriter ` class can also be used to generate
90
90
an HTML file by asking for the ``html `` writer.
91
91
92
+ Metadata savefig keyword argument
93
+ ---------------------------------
94
+
95
+ :func: `~matplotlib.pyplot.savefig ` now accepts ``metadata `` as a keyword
96
+ argument. It can be used to store key/value pairs in the image metadata.
97
+
98
+ Supported formats and backends
99
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
100
+ * 'png' with Agg backend
101
+ * 'pdf' with PDF backend (see
102
+ :func: `~matplotlib.backends.backend_pdf.PdfFile.writeInfoDict ` for a list of
103
+ supported keywords)
104
+ * 'eps' and 'ps' with PS backend (only 'Creator' key is accepted)
105
+
106
+ Example
107
+ ~~~~~~~
108
+ ::
109
+
110
+ plt.savefig('test.png', metadata={'Software': 'My awesome software'})
111
+
92
112
93
113
Orthographic projection for mplot3d
94
114
-----------------------------------
@@ -302,26 +322,6 @@ Pending
302
322
303
323
304
324
305
- Metadata savefig keyword argument
306
- ---------------------------------
307
-
308
- :func: `~matplotlib.pyplot.savefig ` now accepts ``metadata `` as a keyword
309
- argument. It can be used to store key/value pairs in the image metadata.
310
-
311
- Supported formats and backends
312
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
313
- * 'png' with Agg backend
314
- * 'pdf' with PDF backend (see
315
- :func: `~matplotlib.backends.backend_pdf.PdfFile.writeInfoDict ` for a list of
316
- supported keywords)
317
- * 'eps' and 'ps' with PS backend (only 'Creator' key is accepted)
318
-
319
- Example
320
- ~~~~~~~
321
- ::
322
-
323
- plt.savefig('test.png', metadata={'Software': 'My awesome software'})
324
-
325
325
326
326
327
327
Specify minimum value to format as scalar for ``LogFormatterMathtext ``
0 commit comments