Extend the axis limits before setting the range.