class_docstr: Refer to FigureFactory.create_candlestick() for docstring.
class_docstr_tok: ["Refer","to","FigureFactory.create_candlestick","(",")","for","docstring","."]
docstr: Separate increasing data from decreasing data.
  
  The data is increasing when close value > open value
  and decreasing when the close value <= open value.
docstr_tok: ["Separate","increasing","data","from","decreasing","data",".","The","data","is","increasing","when","close","value",">","open","value","and","decreasing","when","the","close","value","<","=","open","value","."]
code: def get_candle_increase(self):
      """
      Separate increasing data from decreasing data.
  
      The data is increasing when close value > open value
      and decreasing when the close value <= open value.
      """
      increase_y = []
      increase_x = []
      for index in range(len(self.open)):
          if self.close[index] > self.open[index]:
              increase_y.append(self.low[index])
              increase_y.append(self.open[index])
              increase_y.append(self.close[index])
              increase_y.append(self.close[index])
              increase_y.append(self.close[index])
              increase_y.append(self.high[index])
              increase_x.append(self.x[index])
  
      increase_x = [[x, x, x, x, x, x] for x in increase_x]
      increase_x = utils.flatten(increase_x)
  
      return increase_x, increase_y
  
file_path: catboost/contrib/python/plotly/py2/plotly/figure_factory/_candlestick.py
imports: from __future__ import absolute_import
  from plotly.figure_factory import utils
  from plotly.figure_factory._ohlc import _DEFAULT_INCREASING_COLOR, _DEFAULT_DECREASING_COLOR, validate_ohlc
  from plotly.graph_objs import graph_objs
label_desc: Use image node_id 2 for calling the _Candlestick obj's underlying member method code with example usage: obj.get_candle_increase() and returns: increase_x,  increase_y