class_docstr: Test resolve_colors helper function
class_docstr_tok: ["Test","resolve_colors","helper","function"]
docstr: Assert that supplying a yellowbrick palette as colormap works
docstr_tok: ["Assert","that","supplying","a","yellowbrick","palette","as","colormap","works"]
code: def test_colormap_palette_yb(self):
      """
      Assert that supplying a yellowbrick palette as colormap works
      """
      colormap = ColorPalette("neural_paint")
      assert resolve_colors(colormap=colormap) == [
          (
              0.08627450980392157,
              0.44313725490196076,
              0.5725490196078431,
          ),
          (0.43137254901960786, 0.4588235294117647, 0.2823529411764706),
          (0.7725490196078432, 0.6352941176470588, 0.6705882352941176),
          (0.0, 0.8, 1.0),
          (0.8705882352941177, 0.47058823529411764, 0.6823529411764706),
          (1.0, 0.8, 0.6),
          (
              0.23921568627450981,
              0.24705882352941178,
              0.25882352941176473,
          ),
          (1.0, 1.0, 0.8),
      ]
  
imports: import sys
  import pytest
  from matplotlib import cm
  from cycler import Cycler
  from sklearn.cluster import KMeans
  from sklearn.datasets import make_blobs
  from yellowbrick.style.colors import *
  from yellowbrick.style.palettes import ColorPalette, PALETTES
  from yellowbrick.cluster.silhouette import SilhouetteVisualizer
  from tests.base import VisualTestCase
label_desc: Use image node_id 11 for calling the TestResolveColors obj's underlying member method code with example usage: obj.test_colormap_palette_yb() without return types