fix unreferenced variable warning, re #10528
Merge branch 'feature/10528_use_group_name_when_plotting_group' into develop