class_docstr: Tests the color_palette function.
docstr: Test the seaborn palettes have length 6 (bgrmyck)
docstr_tok: ["Test","the","seaborn","palettes","have","length","6","(","bgrmyck",")"]
code: def test_seaborn_palettes(self):
      """
      Test the seaborn palettes have length 6 (bgrmyck)
      """
      pals = [
          "sns_deep",
          "sns_muted",
          "sns_pastel",
          "sns_bright",
          "sns_dark",
          "sns_colorblind",
      ]
      for name in pals:
          pal_out = color_palette(name)
          assert len(pal_out) == 6
  
imports: import pytest
  import numpy
  import matplotlib
  from yellowbrick.exceptions import *
  from yellowbrick.style.palettes import *
  from yellowbrick.style.colors import get_color_cycle
  from yellowbrick.style.rcmod import set_aesthetic, set_palette
  from yellowbrick.style.palettes import color_sequence, color_palette
  from yellowbrick.style.palettes import ColorPalette, PALETTES, SEQUENCES
  from tests.base import VisualTestCase
label_desc: Use image node_id 5 for calling the TestColorPaletteFunction obj's underlying member method code with example usage: obj.test_seaborn_palettes() without return types