docstr: Shift each color in the palette toward the given target color.
  
  Args:
      target_color (str): Color hex value or name.
      percent (int): Distance to shift the current palette toward the
          target color.
code: def shift_palette(self, target_color, percent=10):
      """Shift each color in the palette toward the given target color.
  
      Args:
          target_color (str): Color hex value or name.
          percent (int): Distance to shift the current palette toward the
              target color.
      """
      shifted_colors = [
          color.linear_gradient(Color(target_color), n=100)[percent - 1]
          for color in self.colors
      ]
      return ColorPalette.from_hex_list(
          colors=shifted_colors,
          palette_type=self.palette_type,
          name=self.name,
      )
  
imports: from collections import OrderedDict
  from bokeh import palettes
  from IPython.core.display import HTML
  import yaml
  from chartify._core.options import options
  from chartify._core import colour
label_desc: Use image node_id 9 for calling the ColorPalette obj's underlying member method code with example usage: obj.shift_palette(target_color, percent) and returns: ColorPalette