Fix centers_to_edges for VPT plots, which have 1D x,y