fix ratio plots in plot-np-shape