class_docstr: Affine transformation class
  
  Parameters
  ----------
  matrix : array-like | None
      4x4 array to use for the transform.
docstr: Translate the matrix
  
  The translation is applied *after* the transformations already present
  in the matrix.
  
  Parameters
  ----------
  pos : arrayndarray
      Position to translate by.
docstr_tok: ["Translate","the","matrix","The","translation","is","applied","*","after","*","the","transformations","already","present","in","the","matrix",".","Parameters","--","--","--","--","--","pos",":","arrayndarray","Position","to","translate","by","."]
code: def translate(self, pos):
      """
      Translate the matrix
  
      The translation is applied *after* the transformations already present
      in the matrix.
  
      Parameters
      ----------
      pos : arrayndarray
          Position to translate by.
      """
      self.matrix = np.dot(
          self.matrix, transforms.translate(pos[0, :3])
      )
  
imports: from __future__ import division
  import numpy
  from ...util import transforms
  from ...geometry import Rect
  from ._util import arg_to_vec4, as_vec4
  from .base_transform import BaseTransform
label_desc: Use image node_id 9 for calling the MatrixTransform obj's underlying member method code with example usage: obj.translate(pos) without return types