~ubuntu-branches/ubuntu/vivid/python-chaco/vivid-proposed

« back to all changes in this revision

Viewing changes to enthought/chaco/axis.py

  • Committer: Bazaar Package Importer
  • Author(s): Varun Hiremath
  • Date: 2010-06-03 01:43:27 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20100603014327-lurshmszk4h96hr8
Tags: 3.3.1-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
403
403
                if not self.ticklabel_cache:
404
404
                    v_offset = 25
405
405
                else:
406
 
                    v_offset = (self._end_axis_point[1] - self._origin_point[1] + tl_bounds[0])/2.0
407
 
            h_offset = self.tick_out + tl_bounds[1] + 8
 
406
                    v_offset = (self._end_axis_point[1] - self._origin_point[1] - tl_bounds[0])/2.0
 
407
            h_offset = self.tick_out + 4
408
408
            if len(self.ticklabel_cache) > 0:
409
409
                h_offset += max([l._bounding_box[0] for l in self.ticklabel_cache]) 
410
410
            offset = array([self._origin_point[0] + h_offset, self._origin_point[1] + v_offset])