MCPcopy Create free account
hub / github.com/plotly/plotly.py / get_increase

Method get_increase

plotly/figure_factory/_ohlc.py:265–279  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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 """

Callers 1

make_increasing_ohlcFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected