class_docstr: Test get_color_cycle helper function
class_docstr_tok: ["Test","get_color_cycle","helper","function"]
docstr: Ensure the color cycle depends on the palette
docstr_tok: ["Ensure","the","color","cycle","depends","on","the","palette"]
code: def test_cycle_depends_on_palette(self):
      """
      Ensure the color cycle depends on the palette
      """
      c = get_color_cycle()
      assert len(c) == 6
  
      with ColorPalette("paired"):
          c = get_color_cycle()
          assert len(c) == 12
  
      c = get_color_cycle()
      assert len(c) == 6
  
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 1 for calling the TestGetColorCycle obj's underlying member method code with example usage: obj.test_cycle_depends_on_palette() without return types