Flatten decrease data and get decrease text :rtype (list, list, list): flat_decrease_x: x-values for the decreasing trace, flat_decrease_y: y=values for the decreasing trace and text_decrease: hovertext for the decreasing trace
(self)
| 279 | return flat_increase_x, flat_increase_y, text_increase |
| 280 | |
| 281 | def get_decrease(self): |
| 282 | """ |
| 283 | Flatten decrease data and get decrease text |
| 284 | |
| 285 | :rtype (list, list, list): flat_decrease_x: x-values for the decreasing |
| 286 | trace, flat_decrease_y: y=values for the decreasing trace and |
| 287 | text_decrease: hovertext for the decreasing trace |
| 288 | """ |
| 289 | flat_decrease_x = utils.flatten(self.decrease_x) |
| 290 | flat_decrease_y = utils.flatten(self.decrease_y) |
| 291 | text_decrease = ("Open", "Open", "High", "Low", "Close", "Close", "") * ( |
| 292 | len(self.decrease_x) |
| 293 | ) |
| 294 | |
| 295 | return flat_decrease_x, flat_decrease_y, text_decrease |
no outgoing calls
no test coverage detected