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

Skip to content

Commit c491348

Browse files
committed
1 parent ee58680 commit c491348

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
@@ -1234,7 +1234,7 @@ def score_size(self, size1, size2):
12341234
try:
12351235
sizeval1 = float(size1)
12361236
except ValueError:
1237-
sizeval1 = self.default_size * font_scalings(size1)
1237+
sizeval1 = self.default_size * font_scalings[size1]
12381238
try:
12391239
sizeval2 = float(size2)
12401240
except ValueError:

0 commit comments

Comments
 (0)