Ejemplo n.º 1
0
 def _recalculate_axis_ticks(self, axis):
     b = self._bounding_box
     if b[axis][0] is None or b[axis][1] is None:
         self._axis_ticks[axis] = []
     else:
         self._axis_ticks[axis] = strided_range(b[axis][0], b[axis][1],
                                                self._stride[axis])
Ejemplo n.º 2
0
 def _recalculate_axis_ticks(self, axis):
     b = self._bounding_box
     if b[axis][0] is None or b[axis][1] is None:
         self._axis_ticks[axis] = []
     else:
         self._axis_ticks[axis] = strided_range(b[axis][0], b[axis][1],
                                                self._stride[axis])