| 1 |
From: James Addison <[email protected]> |
| 2 |
Date: Sat, 29 Mar 2025 20:32:21 +0000 |
| 3 |
Subject: enable a fixed salt for matplotlib hash-based ID-generation of SVG paths |
| 4 |
. |
| 5 |
This removes a source of per-build variance due by avoiding the (default) |
| 6 |
use of randomized UUID4-based salt values. |
| 7 |
Bug-Debian: http://bugs.debian.org/1064858 |
| 8 |
diff --git a/docs/conf.py b/docs/conf.py |
| 9 |
index 7a9c7d7..badebc3 100644 |
| 10 |
--- a/docs/conf.py |
| 11 |
+++ b/docs/conf.py |
| 12 |
@@ -49,6 +49,9 @@ exclude_patterns.append('_templates') # |
| 13 |
exclude_patterns.append('psf_spec/*') # noqa |
| 14 |
|
| 15 |
plot_formats = ['png', 'hires.png', 'pdf', 'svg'] |
| 16 |
+plot_rcparams = { |
| 17 |
+ 'svg.hashsalt': 'https://reproducible-builds.org', |
| 18 |
+} |
| 19 |
|
| 20 |
# This is added to the end of RST files - a good place to put |
| 21 |
# substitutions to be used globally. |