Document the changes in whats_new
- Loading branch information
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,26 @@ | ||
| Reproducible PS, PDF and SVG output | ||
| ----------------------------------- | ||
|
|
||
| The ``SOURCE_DATE_EPOCH`` environment variable can now be used to set | ||
| the timestamp value in the PS and PDF outputs. See | ||
| https://reproducible-builds.org/specs/source-date-epoch/ | ||
|
|
||
| Alternatively, calling ``savefig`` with ``metadata={creationDate=None}`` | ||
| will omit the timestamp altogether. | ||
|
|
||
| The reproducibility of the output from the PS and PDF backends has so | ||
| far been tested using various plot elements but only default values of | ||
| options such as ``{ps,pdf}.fonttype`` that can affect the output at a | ||
| low level, and not with the mathtext or usetex features. When | ||
| matplotlib calls external tools (such as PS distillers or LaTeX) their | ||
| versions need to be kept constant for reproducibility, and they may | ||
| add sources of nondeterminism outside the control of matplotlib. | ||
|
|
||
| For SVG output, the ``svg.hashsalt`` rc parameter has been added in an | ||
| earlier release. In can be used to change some random id values in the | ||
|
||
| output to be deterministic, at the cost that including multiple such | ||
| svg files in one document can lead to collisions. | ||
|
||
|
|
||
| These features are now enabled in the tests for the pdf and svg | ||
|
||
| backends, so most test output files (but not all of them) are now | ||
| deterministic. | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This
dictliteral is a bit broken; should bedict(creationDate=None)or{'creationDate': None}.