associate error bars with traces (WIP)