change default white space

This commit is contained in:
t-bltg 2021-10-20 11:36:45 +02:00
parent 31d3bf3e06
commit 5a847db682

View File

@ -1271,7 +1271,7 @@ function gr_get_legend_geometry(viewport_plotarea, sp)
x_legend_offset = (viewport_plotarea[2] - viewport_plotarea[1]) / 30
y_legend_offset = (viewport_plotarea[4] - viewport_plotarea[3]) / 30
dy *= get(sp[:extra_kwargs], :legend_hfactor, 1)
dy *= get(sp[:extra_kwargs], :legend_hfactor, 1.05) # default arbitrary 5% white space
legendh = dy * legendn