def equal(data, num_breaks):
step = (numpy.amax(data) - numpy.amin(data)) / num_breaks<EOL>return numpy.linspace(numpy.amin(data) + step, numpy.amax(data), num_breaks)<EOL>
Calculate equal interval breaks.

Arguments:
data -- Array of values to classify.
num_breaks -- Number of breaks to perform.