Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c7adbb commit 93b2eeaCopy full SHA for 93b2eea
1 file changed
lib/matplotlib/testing/__init__.py
@@ -136,6 +136,10 @@ def set_font_settings_for_testing():
136
rcParams['text.hinting_factor'] = 8
137
138
139
+def set_reproducibility_for_testing():
140
+ rcParams['svg.hashsalt'] = 'matplotlib'
141
+
142
143
def setup():
144
# The baseline images are created in this locale, so we should use
145
# it during all of the tests.
@@ -161,3 +165,4 @@ def setup():
161
165
rcdefaults() # Start with all defaults
162
166
163
167
set_font_settings_for_testing()
168
+ set_reproducibility_for_testing()
0 commit comments