legend_merge function

Force Legends to Merge