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 41ec465 commit 3840412Copy full SHA for 3840412
lib/matplotlib/testing/compare.py
@@ -312,7 +312,7 @@ def convert(filename, cache):
312
# font-family|font-variant|font-style]
313
# taking care of the possibility of multiple style attributes
314
# before the font styling (i.e. opacity)
315
- r'style="[^"]*font-(size|weight|family|variant|style):',
+ r'style="[^"]*font(|-size|-weight|-family|-variant|-style):',
316
contents # raw contents of the svg file
317
):
318
# for svg.fonttype = none, we explicitly patch the font search
0 commit comments