def bone(rng, **traits):
    _bone_data = {
        'red': ((0., 0., 0.), (0.746032, 0.652778, 0.652778), (1.0, 1.0, 1.0)),
        'green': ((0., 0., 0.), (0.365079, 0.319444, 0.319444),
            (0.746032, 0.777778, 0.777778), (1.0, 1.0, 1.0)),
        'blue': ((0., 0., 0.), (0.365079, 0.444444, 0.444444), (1.0, 1.0, 1.0))}
    return ColorMapper.from_segment_map(_bone_data, range=rng, **traits)
Generator function for the 'bone' colormap. (Instead of faulty one
dataset/ETHPy150Open ptomato/Beams/beams/CameraImage.py/bone