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 4f0b353 commit bf4b626Copy full SHA for bf4b626
doc/api/next_api_changes/behavior/18193-BKB.rst
@@ -0,0 +1,11 @@
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.
0 commit comments