def METHOD_NAME(self):
    widget = RangeSlider(self)
    widget.setRange(0, 500)
    widget.setValues(100, 400)
    background = numpy.sin(numpy.arange(250) / 250.0)
    background[0], background[-1] = background[-1], background[0]
    colormap = Colormap("viridis")
    widget.setGroovePixmapFromProfile(background, colormap)
    return widget