plot_range debugging