Flatten increase data and get increase text :rtype (list, list, list): flat_increase_x: x-values for the increasing trace, flat_increase_y: y=values for the increasing trace and text_increase: hovertext for the increasing trace
(self)
| 263 | self.decrease_y.append(self.all_y[index]) |
| 264 | |
| 265 | def get_increase(self): |
| 266 | """ |
| 267 | Flatten increase data and get increase text |
| 268 | |
| 269 | :rtype (list, list, list): flat_increase_x: x-values for the increasing |
| 270 | trace, flat_increase_y: y=values for the increasing trace and |
| 271 | text_increase: hovertext for the increasing trace |
| 272 | """ |
| 273 | flat_increase_x = utils.flatten(self.increase_x) |
| 274 | flat_increase_y = utils.flatten(self.increase_y) |
| 275 | text_increase = ("Open", "Open", "High", "Low", "Close", "Close", "") * ( |
| 276 | len(self.increase_x) |
| 277 | ) |
| 278 | |
| 279 | return flat_increase_x, flat_increase_y, text_increase |
| 280 | |
| 281 | def get_decrease(self): |
| 282 | """ |
no outgoing calls
no test coverage detected