associate error bars to the right traces (WIP)