class_docstr: Widget containing an axis
  
  Parameters
  ----------
  orientation : str
      Orientation of the axis, 'left' or 'bottom'.
  **kwargs : dict
      Keyword arguments to pass to AxisVisual.
docstr: Linked view transform has changed; update ticks.
docstr_tok: ["Linked","view","transform","has","changed",";","update","ticks","."]
code: def _view_changed(self, event=None):
      """Linked view transform has changed; update ticks."""
      tr = self.node_transform(self._linked_view.scene)
      p1, p2 = tr.map(self._axis_ends())
      if self.orientation in ("left", "right"):
          self.axis.domain = (p1[1], p2[1])
      else:
          self.axis.domain = (p1[0], p2[0])
  
file_path: vispy/vispy/scene/widgets/axis.py
imports: import numpy
  from .widget import Widget
  from ...visuals import AxisVisual
label_desc: Use image node_id 6 for calling the AxisWidget obj's underlying member method code with example usage: obj._view_changed(event) without return types