Skip to content

Commit 2877a25

Browse files
authored
Merge pull request backtrader2#69 from happydasch/indicator-fix
Fixed MetaLinePlotterIndicator
2 parents 4c5a628 + 9d421b0 commit 2877a25

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

backtrader/indicator.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,7 @@ def donew(cls, *args, **kwargs):
141141
lname = kwargs.pop('name')
142142
name = cls.__name__
143143

144-
lines = getattr(cls, 'lines', Lines)
145-
cls.lines = lines._derive(name, (lname,), 0, [])
144+
cls.lines = Lines._derive(name, (lname,), 0, [])
146145

147146
plotlines = AutoInfoClass
148147
newplotlines = dict()

0 commit comments

Comments
 (0)