This app is based on a Matplotlib example that displays 2D data with a user-adjustable colormap. We use a range slider to set the data range that is covered by the colormap.