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

Skip to content

Commit c157234

Browse files
committed
finetune cm SUP1
1 parent 68d99be commit c157234

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/mathtext.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,8 +1194,8 @@ def get_underline_thickness(self, font, fontsize, dpi):
11941194
SUBDROP = {'cm': 0.3,
11951195
'stix': 0.4,
11961196
'stixsans': 0.4}
1197-
# Percentage of x-height that superscripts drop below the baseline
1198-
SUP1 = {'cm': 0.4,
1197+
# Percentage of x-height that superscripts are raised from the baseline
1198+
SUP1 = {'cm': 0.45,
11991199
'stix': 0.8,
12001200
'stixsans': 0.8}
12011201
# Percentage of x-height that subscripts drop below the baseline

0 commit comments

Comments
 (0)