8000
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 a8831d5 commit 4611bffCopy full SHA for 4611bff
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