class_docstr: Continuous Range
class_docstr_tok: ["Continuous","Range"]
docstr: Train continuous range
docstr_tok: ["Train","continuous","range"]
code: def train(self, x: FloatArrayLike):
      """
      Train continuous range
      """
      rng = None if self.is_empty() else self.range
      self.range = scale_continuous.train(x, rng)
  
file_path: plotnine/plotnine/scales/range.py
imports: from __future__ import annotations
  import typing
  from mizani.scale import scale_continuous, scale_discrete
label_desc: Use image node_id 1 for calling the RangeContinuous obj's underlying member method code with example usage: obj.train(x) without return types