Пример #1
0
 def __init__(self, scale_transform, limits):
     """
     limits is the view limit of the data.  The only part of
     its bounds that is used is ymax (for the radius maximum).
     """
     Affine2DBase.__init__(self)
     self._scale_transform = scale_transform
     self._limits = limits
     self.set_children(scale_transform, limits)
     self._mtx = None
Пример #2
0
 def __init__(self, scale_transform, limits):
     """
     limits is the view limit of the data.  The only part of
     its bounds that is used is ymax (for the radius maximum).
     """
     Affine2DBase.__init__(self)
     self._scale_transform = scale_transform
     self._limits = limits
     self.set_children(scale_transform, limits)
     self._mtx = None
Пример #3
0
 def __init__(self, a, source_dims=[0,1]):
     self.input_dims = a.input_dims
     self.output_dims = a.output_dims
     self._a = a
     self._scale_source_dims = source_dims
     self._mtx = a.get_affine().get_matrix().copy()
     self._mtx[:] = 0
     self._mtx[2,2] = 1
     self._invalid = True
     self.set_children(a)
     Affine2DBase.__init__(self)
Пример #4
0
 def __init__(self, scale_transform, limits):
     u"""
     *limits* is the view limit of the data.  The only part of
     its bounds that is used is ymax (for the radius maximum).
     The theta range is always fixed to (0, 2\u03c0).
     """
     Affine2DBase.__init__(self)
     self._scale_transform = scale_transform
     self._limits = limits
     self.set_children(scale_transform, limits)
     self._mtx = None
Пример #5
0
 def __init__(self, scale_transform, limits):
     u"""
     *limits* is the view limit of the data.  The only part of
     its bounds that is used is ymax (for the radius maximum).
     The theta range is always fixed to (0, 2\u03c0).
     """
     Affine2DBase.__init__(self)
     self._scale_transform = scale_transform
     self._limits = limits
     self.set_children(scale_transform, limits)
     self._mtx = None
Пример #6
0
 def __init__(self, a, source_dims=[0, 1]):
     self.input_dims = a.input_dims
     self.output_dims = a.output_dims
     self._a = a
     self._scale_source_dims = source_dims
     self._mtx = a.get_affine().get_matrix().copy()
     self._mtx[:] = 0
     self._mtx[2, 2] = 1
     self._invalid = True
     self.set_children(a)
     Affine2DBase.__init__(self)