class_docstr: Base class for all continuous scales
  
  Parameters
  ----------
  {superclass_parameters}
  trans : str | callable
      Name of a trans function or a trans function.
      See :mod:`mizani.transforms` for possible options.
  oob : callable, default=mizani.bounds.censor
      Function to deal with out of bounds (limits)
      data points. Default is to turn them into
      `np.nan`, which then get dropped.
  minor_breaks : list | int | callable, default=None
      If a list-like, it is the minor breaks points.
      If an integer, it is the number of minor breaks between
      any set of major breaks.
      If a function, it should have the signature
      `func(limits)` and return a list-like of consisting
      of the minor break points.
      If `None`, no minor breaks are calculated.
      The default is to automatically calculate them.
  rescaler : callable, default=mizani.bounds.rescale
      Function to rescale data points so that they can
      be handled by the palette. Default is to rescale
      them onto the [0, 1] range. Scales that inherit
      from this class may have another default.
  
  Notes
  -----
  If using the class directly all arguments must be
  keyword arguments.
code: def __init__(self, **kwargs):
      # Make sure we have a transform.
      self.trans = kwargs.pop("trans", self._trans)
  
      with suppress(KeyError):
          self.limits = kwargs.pop("limits")
  
      scale.__init__(self, **kwargs)
  
imports: from __future__ import annotations
  import typing
  from contextlib import suppress
  from warnings import warn
  import numpy
  import pandas
  from mizani.bounds import censor, expand_range_distinct, rescale, zero_range
  from .._utils import match
  from ..doctools import document
  from ..exceptions import PlotnineError, PlotnineWarning
  from ..iapi import range_view, scale_view
  from ._expand import expand_range
  from .range import RangeContinuous
  from .scale import scale
label_desc: Use image node_id 1 to create a new scale_continuous object from inherited base classes: scale with example: obj = scale_continuous()