Skip to content

Commit 65920a8

Browse files
committed
Fonts demo minor improvement
1 parent c8386eb commit 65920a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proplot/styletools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3625,7 +3625,7 @@ def show_fonts(*args, size=12, text=None):
36253625
# Create figure
36263626
f, axs = subplots(
36273627
ncols=1, nrows=len(args), space=0,
3628-
axwidth=4.5, axheight=(text.count('\n') + 3.5) * size / 72,
3628+
axwidth=4.5, axheight=1.2 * (text.count('\n') + 2.5) * size / 72,
36293629
fallback_to_cm=False
36303630
)
36313631
axs.format(xloc='neither', yloc='neither',

0 commit comments

Comments
 (0)