Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4d0a552

Browse filesBrowse files
committed
Oops in last commit.
svn path=/branches/v0_91_maint/; revision=5023
1 parent ca55945 commit 4d0a552
Copy full SHA for 4d0a552

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎lib/matplotlib/backends/backend_svg.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_svg.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ def _add_char_def(self, prop, char):
389389
if step[0] != 4:
390390
currx, curry = step[-2], -step[-1]
391391
path_data = ''.join(path_data)
392-
char_num = 'c_%x' % len(self._char_defs) # md5.new(path_data).hexdigest()
392+
char_num = 'c_%s' % md5.new(path_data).hexdigest()
393393
path_element = '<symbol id="%s"><path d="%s"/></symbol>\n' % (char_num, ''.join(path_data))
394394
self._char_defs[char_id] = char_num
395395
return path_element

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.