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

Skip to content

Commit 3ab0ba0

Browse files
committed
Fix syntax error.
1 parent bc510f3 commit 3ab0ba0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/font_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1294,7 +1294,7 @@ def fc_match(pattern, fontext):
12941294
return file
12951295
return None
12961296

1297-
_fc_match_regex = re.compile(rb'\sfile:\s+"([^"]*)"')
1297+
_fc_match_regex = re.compile(br'\sfile:\s+"([^"]*)"')
12981298
_fc_match_cache = {}
12991299

13001300
def findfont(prop, fontext='ttf'):

0 commit comments

Comments
 (0)