class_docstr: Scale for line patterns
  
  Parameters
  ----------
  {superclass_parameters}
  
  Notes
  -----
  The available linetypes are
  `'solid', 'dashed', 'dashdot', 'dotted'`
  If you need more custom linetypes, use
  [](`~plotnine.scales.scale_linetype_manual`)
class_docstr_tok: ["Scale","for","line","patterns","Parameters","--","--","--","--","--","{","superclass_parameters","}","Notes","--","--","-","The","available","linetypes","are","`","'solid","'",",","'dashed","'",",","'dashdot","'",",","'dotted","'","`","If","you","need","more","custom","linetypes",",","use","[","]","(","`","~plotnine.scales.scale_linetype_manual","`",")"]
code: def __init__(self, **kwargs):
      from mizani.palettes import manual_pal
  
      self._palette = manual_pal(LINETYPES)
      super().__init__(**kwargs)
  
file_path: plotnine/plotnine/scales/scale_linetype.py
imports: from warnings import warn
  from .._utils.registry import alias
  from ..doctools import document
  from ..exceptions import PlotnineError, PlotnineWarning
  from .scale_continuous import scale_continuous
  from .scale_discrete import scale_discrete
label_desc: Use image node_id 1 to create a new scale_linetype object from inherited base classes: scale_discrete with example: obj = scale_linetype()