class_docstr: Shared methods between Point and Line
class_docstr_tok: ["Shared","methods","between","Point","and","Line"]
code: def compute_y_bounds(self, df):
      bounds = self._compute_bounds(df[self.y])
      return self.maybe_expand_bounds(bounds)
  
imports: from __future__ import annotations
  from packaging.version import Version
  import numpy
  from toolz import memoize
  from datashader.glyphs.glyph import Glyph
  from datashader.utils import isreal, ngjit
  from numba import cuda
label_desc: Use image node_id 9 for calling the _PointLike obj's underlying member method code with example usage: obj.compute_y_bounds(df) and returns: self