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

Skip to content

Commit f8df71b

Browse files
authored
Merge pull request #8936 from anntzer/cairo-mathtext
FIX: cairo mathtext
2 parents aff47a6 + c51868e commit f8df71b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/backends/backend_cairo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ class RendererCairo(RendererBase):
9191
'light' : cairo.FONT_WEIGHT_NORMAL,
9292
'normal' : cairo.FONT_WEIGHT_NORMAL,
9393
'medium' : cairo.FONT_WEIGHT_NORMAL,
94+
'regular' : cairo.FONT_WEIGHT_NORMAL,
9495
'semibold' : cairo.FONT_WEIGHT_BOLD,
9596
'bold' : cairo.FONT_WEIGHT_BOLD,
9697
'heavy' : cairo.FONT_WEIGHT_BOLD,

0 commit comments

Comments
 (0)