code: def test_create_palette(self):
      chartify.color_palettes.create_palette(
          ["white", "black", "#fff000"], "sequential", "New"
      )
      new_palette = chartify.color_palettes["New"]
      assert new_palette.to_hex_list() == [
          "#ffffff",
          "#000000",
          "#fff000",
      ]
  
file_path: chartify/tests/test_colors.py
imports: import chartify
  import importlib
  import numpy
label_desc: Use image node_id 2 for calling the TestColorPalettes obj's underlying member method code with example usage: obj.test_create_palette() without return types