class_docstr: Discrete area size scale
  
  Parameters
  ----------
  {superclass_parameters}
class_docstr_tok: ["Discrete","area","size","scale","Parameters","--","--","--","--","--","{","superclass_parameters","}"]
code: def __init__(self, **kwargs):
      warn(
          "Using size for a discrete variable is not advised.",
          PlotnineWarning,
      )
      super().__init__(**kwargs)
  
imports: from warnings import warn
  import numpy
  from mizani.bounds import rescale_max
  from .._utils.registry import alias
  from ..doctools import document
  from ..exceptions import PlotnineWarning
  from .scale_continuous import scale_continuous
  from .scale_datetime import scale_datetime
  from .scale_discrete import scale_discrete
label_desc: Use image node_id 1 to create a new scale_size_discrete object from inherited base classes: scale_size_ordinal with example: obj = scale_size_discrete()