Skip to content

Commit 014cd54

Browse files
committed
can't use VALID_PMOVE_TYPES yet. Oops
1 parent 403efe6 commit 014cd54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mplfinance/plotting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ def plot( data, **kwargs ):
315315

316316
avg_dist_between_points = (xdates[-1] - xdates[0]) / float(len(xdates))
317317

318-
if ptype not in VALID_PMOVE_TYPES:
318+
if ptype is not 'renko':
319319
minx = xdates[0] - avg_dist_between_points
320320
maxx = xdates[-1] + avg_dist_between_points
321321
miny = min([low for low in lows if low != -1])

0 commit comments

Comments
 (0)