Implemented utils.capitalise_legend()