Somehow, that newPlot call gets called with xaxis.type = 'category'.. instead of '-' as per our relayout call. Codepen: http://codepen.io/veraz/pen/VPBprr?editors=0010