Set window visibility to 'on' and check if resize is necessary.
lm_setvisible(HWIN, FORCERESIZE)
HWIN: handle of figure FORCERESIZE: boolean, default value: false, set this parameter to true to force calling lm_resize, even if figure size does not change after setting visibility to true.
None, but figure visibility is set to on and lm_resize may be invoked.