Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ec941b4

Browse files
committed
Fix documentation mistakes
1 parent eab297c commit ec941b4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/users/whats_new/reproducible_ps_pdf.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The ``SOURCE_DATE_EPOCH`` environment variable can now be used to set
55
the timestamp value in the PS and PDF outputs. See
66
https://reproducible-builds.org/specs/source-date-epoch/
77

8-
Alternatively, calling ``savefig`` with ``metadata={creationDate=None}``
8+
Alternatively, calling ``savefig`` with ``metadata={'creationDate': None}``
99
will omit the timestamp altogether.
1010

1111
The reproducibility of the output from the PS and PDF backends has so
@@ -17,10 +17,10 @@ versions need to be kept constant for reproducibility, and they may
1717
add sources of nondeterminism outside the control of matplotlib.
1818

1919
For SVG output, the ``svg.hashsalt`` rc parameter has been added in an
20-
earlier release. In can be used to change some random id values in the
20+
earlier release. It can be used to change some random id values in the
2121
output to be deterministic, at the cost that including multiple such
22-
svg files in one document can lead to collisions.
22+
SVG files in one document can lead to collisions.
2323

24-
These features are now enabled in the tests for the pdf and svg
24+
These features are now enabled in the tests for the PDF and SVG
2525
backends, so most test output files (but not all of them) are now
2626
deterministic.

0 commit comments

Comments
 (0)