# demo surprise that Sebastian's contour pointed out.  When the Series data is 
# non-monotonic, fill is skipped, but it doesn't break the contour.

tt= linspace(0,3*TAU/4,25)
x= cos(tt)
y= sin(tt)

x[3]= -999
y[3]= -999
x[4]= -999
y[4]= -999
x= putProperty( x, QDataSet.FILL_VALUE, -999 )
y= putProperty( y, QDataSet.FILL_VALUE, -999 )

setCanvasSize(300,300)
plot( x,y )
writeToPng('test037_breakContour_1.png')

plot( x,y, renderType='orbitPlot' )
writeToPng('test037_breakContour_2.png')