class_docstr: Base class for ``Scale`` models that represent an invertible
  computation to be carried out on the client-side.
  
  JavaScript implementations should implement the following methods:
  
  .. code-block
  
      compute(x: number): number {
          # compute and return the transform of a single value
      }
  
      v_compute(xs: Arrayable<number>): Arrayable<number> {
          # compute and return the transform of an array of values
      }
  
      invert(sx: number): number {
          # compute and return the inverse transform of a single value
      }
  
      v_invert(sxs: Arrayable<number>): Arrayable<number> {
          # compute and return the inverse transform of an array of values
      }
code: def __init__(self, *args, **kwargs) -> None:
      super().__init__(*args, **kwargs)
  
imports: from __future__ import annotations
  import logging
  from ..core.has_props import abstract
  from ..core.properties import Instance, Required
  from .transforms import Transform
label_desc: Use image node_id 1 to create a new Scale object from inherited base classes: Transform with example: obj = Scale()