Fix to plot_xy formats