Deterministic svg #5671
Merged
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
Jump to file
No files or symbols found.
+7
−0
backend_svg_api.rst
doc/api/backend_svg_api.rst
+1
−0
index_backend_api.rst
doc/api/index_backend_api.rst
+5
−0
rcparams.rst
doc/users/whats_new/rcparams.rst
+2
−2
_base.py
lib/matplotlib/axes/_base.py
+7
−3
backend_svg.py
lib/matplotlib/backends/backend_svg.py
+11
−0
rcsetup.py
lib/matplotlib/rcsetup.py
+42
−0
test_backend_svg.py
lib/matplotlib/tests/test_backend_svg.py
+2
−1
textpath.py
lib/matplotlib/textpath.py
+2
−0
matplotlibrc.template
matplotlibrc.template
| @@ -0,0 +1,7 @@ | ||
| + | ||
| +:mod:`matplotlib.backends.backend_svg` | ||
| +====================================== | ||
| + | ||
| +.. automodule:: matplotlib.backends.backend_svg | ||
| + :members: | ||
| + :show-inheritance: |
| @@ -0,0 +1,5 @@ | ||
| +Added ``svg.hashsalt`` key to rcParams | ||
| +``````````````````````````````````````` | ||
| +If ``svg.hashsalt`` is ``None`` (which it is by default), the svg backend uses ``uuid4`` to generate the hash salt. | ||
| +If it is not ``None``, it must be a string that is used as the hash salt instead of ``uuid4``. | ||
| +This allows for deterministic SVG output. |