Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3435e36

Browse files
committed
Fix SVG
1 parent 80f38ad commit 3435e36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_svg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ def _write_hatches(self):
393393
style=generate_css({
394394
'fill': rgb2hex(stroke),
395395
'stroke': rgb2hex(stroke),
396-
'stroke-width': rcParams['hatch.linewidth'],
396+
'stroke-width': six.text_type(rcParams['hatch.linewidth']),
397397
'stroke-linecap': 'butt',
398398
'stroke-linejoin': 'miter'
399399
})

0 commit comments

Comments
 (0)