fix different color cycles in plot_xy