(self, fname, n=10, intraday=False)
| 200 | |
| 201 | """ |
| 202 | def __init__(self, fname, n=10, intraday=False): |
| 203 | """ """ |
| 204 | self.fig = plt.figure(facecolor='white') |
| 205 | self.fig.canvas.set_window_title(u'�ڻ����ݷ���') |
| 206 | self.nbar = n |
| 207 | self.cursors = [] |
| 208 | self.data, = load_datas(n, intraday, fname) |
| 209 | print self.data |
| 210 | self.axes = [] |
| 211 | self.rax = plt.axes([0, 0.5, 0.08, 0.15]) |
| 212 | self.radio = RadioButtons(self.rax, ('scatter', 'summary', 'summary2', 'entry', 'exit', 'simple'), active=0) |
| 213 | self.axes, self.cursors = scatter_analyze(self.fig, self.data) |
| 214 | self.radio.on_clicked(self.update) |
| 215 | |
| 216 | def update(self, op): |
| 217 | for ax in self.axes: |
nothing calls this directly
no test coverage detected