From a6beb8492baa1745cc8157c1a162f94aa9319618 Mon Sep 17 00:00:00 2001 From: "fabrizio.benedetti.82" Date: Mon, 1 Mar 2010 13:50:51 +0000 Subject: [PATCH] Corrected some bugs in the scale of graphs. --- libhooke.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libhooke.py b/libhooke.py index 5da0508..9bb1ead 100755 --- a/libhooke.py +++ b/libhooke.py @@ -279,9 +279,9 @@ from the current ticks. oom = numpy.floor(numpy.log10(mrange)) else: if locs[0] > locs[-1]: - val = locs[-1] - else: val = locs[0] + else: + val = locs[-1] if val == 0: oom = 0 else: -- 2.26.2