staircase.Stairs.integral# Stairs.integral()# The integral of the step function. Returns: floatThe integral of the step function See also Stairs.mean Examples >>> s1.plot(arrows=True) >>> s1.integral() 1 >>> s3.plot(arrows=True) >>> s3.integral() 0.5