code: def get_cycler(color_cycler):
      """Return a color cycler based on the input value.
  
      Parameters
      ----------
      color_cycler : str, list, tuple, or Cycler
          Specifies the desired color cycler. The value must be one of the following:
          - A list or tuple of color-like objects
          - A Cycler object with color-like objects
          - One of the following string values:
              - ``'default'``: Use the default color cycler (matches matplotlib's default)
              - ``'matplotlib'``: Dynamically get matplotlib's current theme's color cycler.
              - ``'all'``: Cycle through all available colors in ``pyvista.plotting.colors.hexcolors``
          - A named color scheme from ``pyvista.plotting.colors.COLOR_SCHEMES``
  
      Returns
      -------
      Cycler
          The color cycler corresponding to the input value.
  
      Raises
      ------
      ValueError
          Raised if the input is a string not found in named color schemes.
      TypeError
          Raised if the input is of an unsupported type.
  
      """
      if color_cycler is None:
          return None
      elif isinstance(color_cycler, str):
          if color_cycler == "default":
              return get_default_cycler()
          elif color_cycler == "matplotlib":
              return get_matplotlib_theme_cycler()
          elif color_cycler == "all":
              return get_hexcolors_cycler()
          elif color_cycler in COLOR_SCHEMES:
              return color_scheme_to_cycler(color_cycler)
          else:
              raise ValueError(
                  f"color cycler of name `{color_cycler}` not found."
              )
      elif isinstance(color_cycler, (tuple, list)):
          return cycler("color", color_cycler)
      elif isinstance(color_cycler, Cycler):
          return color_cycler
      else:
          raise TypeError(
              f"color cycler of type {type(color_cycler)} not supported."
          )
  
imports: from __future__ import annotations
  import inspect
  from typing import Optional, Tuple, Union
  from cycler import Cycler, cycler
  from matplotlib.colors import ListedColormap
  import matplotlib.pyplot
  import numpy
  import pyvista
  from pyvista.core.utilities.misc import has_module
  from .None import _vtk
  from ._typing import ColorLike
label_desc: Use image node_id 6 for calling a global function with example usage: get_cycler(color_cycler) and returns: None, get_default_cycler, cycler, get_matplotlib_theme_cycler, color_cycler, get_hexcolors_cycler, color_scheme_to_cycler