Thanks to visit codestin.com Credit goes to github.com
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.
2 parents a8831d5 + 4611bff commit 68d0e81Copy full SHA for 68d0e81
1 file changed
lib/matplotlib/backends/backend_svg.py
@@ -430,9 +430,7 @@ def _write_default_style(self):
430
'stroke-linejoin': 'round',
431
'stroke-linecap': 'butt'})
432
writer.start('defs')
433
- writer.start('style', type='text/css')
434
- writer.data('*{%s}\n' % default_style)
435
- writer.end('style')
+ writer.element('style', type='text/css', text='*{%s}' % default_style)
436
writer.end('defs')
437
438
def _make_id(self, type, content):
0 commit comments