~ubuntu-branches/ubuntu/trusty/pyx/trusty

« back to all changes in this revision

Viewing changes to pyx/graph/axis/axis.py

  • Committer: Bazaar Package Importer
  • Author(s): Stuart Prescott
  • Date: 2009-10-29 23:47:39 UTC
  • mfrom: (5.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20091029234739-cc178gmb3vp5828t
Tags: 0.10-1
* New maintainer (closes: #552750).
* Revert unneeded versioned build-dependency on python-all-dev.
* Add a preinst script to clean up after python-central (working around
  bug #479852 in python-central) (closes: #553271).
* Convert packaging to quilt.

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
                if ticks:
172
172
                    rate = rater.rateticks(self, ticks, self.density)
173
173
                    if self.reverse:
174
 
                        rater.raterange(self.convert(data, ticks[0]) -
175
 
                                        self.convert(data, ticks[-1]), 1)
 
174
                        rate += rater.raterange(self.convert(data, ticks[0]) -
 
175
                                                self.convert(data, ticks[-1]), 1)
176
176
                    else:
177
 
                        rater.raterange(self.convert(data, ticks[-1]) -
178
 
                                        self.convert(data, ticks[0]), 1)
 
177
                        rate += rater.raterange(self.convert(data, ticks[-1]) -
 
178
                                                self.convert(data, ticks[0]), 1)
179
179
                    if bestrate is None or rate < bestrate:
180
180
                        bestrate = rate
181
181
                        worse = 0