class_docstr: Class implementing a 2D Descartes coordinate system object.
class_docstr_tok: ["Class","implementing","a","2D","Descartes","coordinate","system","object","."]
docstr: Recalculates some cached scale factors used within the class
docstr_tok: ["Recalculates","some","cached","scale","factors","used","within","the","class"]
code: def _recalc_scale_factors(self):
      """Recalculates some cached scale factors used within the class"""
      if self._bounds is None:
          return
      self._sx = self._bbox.width / self._bounds.width
      self._sy = self._bbox.height / self._bounds.height
      self._ox = self._bounds.left
      self._oy = self._bounds.top
      self._ox2 = self._bbox.left
      self._oy2 = self._bbox.bottom
  
file_path: python-igraph/src/igraph/drawing/cairo/coord.py
imports: from abc import abstractmethod
  from igraph.drawing.cairo.base import AbstractCairoDrawer
  from igraph.drawing.utils import BoundingBox
label_desc: Use image node_id 6 for calling the DescartesCoordinateSystem obj's underlying member method code with example usage: obj._recalc_scale_factors() without return types