File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
doc/api/next_api_changes/behavior Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change
1
+ ID attribute of XML tags in SVG files now based on SHA512 rather than MD5
2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+
4
+ The `RenderSVG._make_id ` method generates unique ID attributes for various
5
+ XML tags in SVG files. This method previously used the first 10 characters of
6
+ an MD5 hash. The `hashlib.md5 ` constructor is not available in Python on
7
+ systems with Federal Information Processing Standards (FIPS) enabled.
8
+ `RenderSVG._make_id ` now uses the first 10 characters of an SHA512 hash. The
9
+ general behavior of this method remains unchanged, though SVG files that
10
+ would otherwise those saved with earlier versions of matplotlib, will have
11
+ different ID attributes.
You can’t perform that action at this time.
0 commit comments