aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/Plot.py
diff options
context:
space:
mode:
authorBonfaceKilz2020-08-19 03:36:24 +0300
committerBonfaceKilz2020-08-19 03:36:24 +0300
commit9d5dff44fb4d07f926659dde0c6205bf12a1ca5b (patch)
tree5918fad09cd036a9bd9f5a79f45a77d2cc120af8 /wqflask/utility/Plot.py
parent606ec8b9b3bbb8b2269ab546ebafa454f1753176 (diff)
downloadgenenetwork2-9d5dff44fb4d07f926659dde0c6205bf12a1ca5b.tar.gz
Rename xrange() to range() and wrap existing range() calls with list
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-xrange>
Diffstat (limited to 'wqflask/utility/Plot.py')
-rw-r--r--wqflask/utility/Plot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/utility/Plot.py b/wqflask/utility/Plot.py
index 82bf6070..c9053dde 100644
--- a/wqflask/utility/Plot.py
+++ b/wqflask/utility/Plot.py
@@ -86,7 +86,7 @@ def frange(start, end=None, inc=1.0):
# Need to adjust the count. AFAICT, it always comes up one short.
count += 1
L = [start] * count
- for i in xrange(1, count):
+ for i in range(1, count):
L[i] = start + i * inc
return L