We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38ca53b commit c1a1e76Copy full SHA for c1a1e76
bashplotlib/utils/helpers.py
@@ -29,6 +29,8 @@ def printcolor(txt, sameline=False, color=get_colour("white")):
29
30
def drange(start, stop, step=1.0):
31
"generate between 2 numbers w/ optional step"
32
+ if step==0:
33
+ step = 0.01
34
r = start
35
while r < stop:
36
yield r
0 commit comments