class_docstr: Abstract class for manual scales
  
  Parameters
  ----------
  {superclass_parameters}
class_docstr_tok: ["Abstract","class","for","manual","scales","Parameters","--","--","--","--","--","{","superclass_parameters","}"]
code: def __init__(self, values, **kwargs):
      # Match the values of the scale with the breaks (if given)
      if "breaks" in kwargs:
          from collections.abc import Sized
  
          breaks: ScaleBreaksRaw = kwargs["breaks"]
          if isinstance(breaks, Sized) and len(breaks) == len(values):
              values = dict(zip(breaks, values))
  
      self._values = values
      scale_discrete.__init__(self, **kwargs)
  
imports: from __future__ import annotations
  import typing
  from warnings import warn
  from .._utils.registry import alias
  from ..doctools import document
  from ..exceptions import PlotnineWarning
  from .scale_discrete import scale_discrete
label_desc: Use image node_id 1 to create a new _scale_manual object from inherited base classes: scale_discrete with example: obj = _scale_manual(values)