class_docstr: Refer to TraceFactory.create_distplot() for docstring
class_docstr_tok: ["Refer","to","TraceFactory.create_distplot","(",")","for","docstring"]
code: def __init__(
      self,
      hist_data,
      histnorm,
      group_labels,
      bin_size,
      curve_type,
      colors,
      rug_text,
      show_hist,
      show_curve,
  ):
      self.hist_data = hist_data
      self.histnorm = histnorm
      self.group_labels = group_labels
      self.bin_size = bin_size
      self.show_hist = show_hist
      self.show_curve = show_curve
      self.trace_number = len(hist_data)
      if rug_text:
          self.rug_text = rug_text
      else:
          self.rug_text = [None] * self.trace_number
  
      self.start = []
      self.end = []
      if colors:
          self.colors = colors
      else:
          self.colors = [
              "rgb(31, 119, 180)",
              "rgb(255, 127, 14)",
              "rgb(44, 160, 44)",
              "rgb(214, 39, 40)",
              "rgb(148, 103, 189)",
              "rgb(140, 86, 75)",
              "rgb(227, 119, 194)",
              "rgb(127, 127, 127)",
              "rgb(188, 189, 34)",
              "rgb(23, 190, 207)",
          ]
      self.curve_x = [None] * self.trace_number
      self.curve_y = [None] * self.trace_number
  
      for trace in self.hist_data:
          self.start.append(min(trace) * 1.0)
          self.end.append(max(trace) * 1.0)
  
file_path: catboost/contrib/python/plotly/py2/plotly/figure_factory/_distplot.py
imports: from __future__ import absolute_import
  from plotly import exceptions, optional_imports
  from plotly.figure_factory import utils
  from plotly.graph_objs import graph_objs
label_desc: Use image node_id 1 to create a new _Distplot object from inherited base classes: object with example: obj = _Distplot(hist_data, histnorm, group_labels, bin_size, curve_type, colors, rug_text, show_hist, show_curve)