def default_OTF(x1, x2):
    maxs = max(x1, x2)
    mins = min(x1, x2)
    otf = PiecewiseFunction()
    otf.add_point(mins, 0.0)
    otf.add_point(maxs, 0.2)
    return otf
Allocate a new data area for a MemInfo created by nrt_meminfo_new_varsize().
dataset/ETHPy150Open enthought/mayavi/mayavi/modules/volume.py/default_OTF--crossover with--dataset/ETHPy150Open numba/numba/numba/targets/base.py/BaseContext.nrt_meminfo_varsize_alloc