From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
Date: Sun, 7 Sep 2025 21:40:10 +0200
Subject: Make random numbers in documentation reproducible

---
 doc/source/conf.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/doc/source/conf.py b/doc/source/conf.py
index fa988ea..ea9623d 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -628,3 +628,7 @@ try_examples_global_warning_text = (
     " report them on the"
     " [NumPy issue tracker](https://github.com/numpy/numpy/issues)."
 )
+
+# Reseed numpy random generator for reproducible documentation
+numpy.random.seed(42)
+
