Skip to content

Commit 8c0049e

Browse files
committed
typo
1 parent 8472d07 commit 8c0049e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

matplotlib2tikz/text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def draw_text(data, obj):
160160
'black'
161161
] or (isinstance(weight, int) and weight > 550):
162162
style.append('\\bfseries')
163-
elif weights == 'light' or (isinstance(weight, int) and weight < 300):
163+
elif weight == 'light' or (isinstance(weight, int) and weight < 300):
164164
style.append('\\lfseries')
165165

166166
if obj.axes:

0 commit comments

Comments
 (0)