on_figs input support for int. Legend loc param.