class_docstr: Scale for line patterns
  
  Parameters
  ----------
  {superclass_parameters}
class_docstr_tok: ["Scale","for","line","patterns","Parameters","--","--","--","--","--","{","superclass_parameters","}"]
code: def __init__(self, **kwargs):
      warn(
          "Using linetype for an ordinal variable is not advised.",
          PlotnineWarning,
      )
      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_ordinal object from inherited base classes: scale_linetype with example: obj = scale_linetype_ordinal()