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

Method __init__

plotly/figure_factory/_candlestick.py:220–229  ·  view source on GitHub ↗
(self, open, high, low, close, dates, **kwargs)

Source from the content-addressed store, hash-verified

218 """
219
220 def __init__(self, open, high, low, close, dates, **kwargs):
221 self.open = open
222 self.high = high
223 self.low = low
224 self.close = close
225 if dates is not None:
226 self.x = dates
227 else:
228 self.x = [x for x in range(len(self.open))]
229 self.get_candle_increase()
230
231 def get_candle_increase(self):
232 """

Callers

nothing calls this directly

Calls 1

get_candle_increaseMethod · 0.95

Tested by

no test coverage detected