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

Skip to content

Commit c51868e

Browse files
committed
Fix cairo mathtext.
1 parent a5d9254 commit c51868e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)