Fix bag plot legends.

The legend label was not changed when the density array was changed.

Change-Id: I4266bd91186f1232d2228e792d3cd7be4491af53
Merge topic 'FixBagPlotLegend' into master

e0911e4c Fix bag plot legends.