code: def _view_changed(self, event=None):
          
          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])
docs: Linked view transform has changed; update ticks.