Revert "gr-constant-legendbox (#4043)" (#4054)

This reverts commit 806e7691851101b1586af2bc23f58b6415405631.
This commit is contained in:
Zhanibek 2022-01-22 01:27:28 +09:00 committed by GitHub
parent 806e769185
commit e8ac74a390
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1272,7 +1272,7 @@ function gr_get_legend_geometry(viewport_plotarea, sp)
GR.restorestate()
end
legend_width_factor = 0.02
legend_width_factor = (viewport_plotarea[2] - viewport_plotarea[1]) / 45 # Determines the width of legend box
legend_textw = legendw
legend_rightw = legend_width_factor
legend_leftw = legend_width_factor * 4