trip div0 in cases that a plot is a horizontal line