code: def _match_cmap(self, fitsimage, colorbar):
          
          rgbmap = fitsimage.get_rgbmap()
          loval, hival = fitsimage.get_cut_levels()
          colorbar.set_range(loval, hival)
          # If we are sharing a ColorBar for all channels, then store
          # to change the ColorBar's rgbmap to match our
          colorbar.set_rgbmap(rgbmap)
docs: Help method to change the ColorBar to match the cut levels or
          colormap used in a ginga ImageView.