绘图,参数可由UI调整。
(self, widget)
| 35 | return talib.SMA(data, n) |
| 36 | |
| 37 | def plot(self, widget): |
| 38 | """ 绘图,参数可由UI调整。 """ |
| 39 | self.widget = widget |
| 40 | self.plot_line(self.value, self.color, self.lw, self.style) |
| 41 | |
| 42 | #@override_attributes |
| 43 | #def plot(self, widget, color='y', lw=2, style="line"): |
no test coverage detected