class_docstr: Bar plot. This is an internal plot targeted for developers, not intended for
  end-users.
  
  Parameters
  ----------
  count : dict
      A dictionary whose keys are labels and values are counts
  
  color : string, default=None
      Color for the bars, must be a valid matplotlib color
  
  name : string, default=None
      A value to identify this plot
  
  Notes
  -----
  .. versionadded:: 0.9
  
  
  Examples
  --------
  
  Create plot:
  
  .. plot::
  
      from sklearn_evaluation.plot._example import MyBar
      MyBar.from_raw_data(["banana", "banana", "apple", "pineapple", "apple"],
                              color="lightblue")
  
  Compare plots:
  
  
  .. plot::
  
      from sklearn_evaluation.plot._example import MyBar
      one = MyBar.from_raw_data(["banana", "banana", "apple", "pineapple", "apple"])
      another = MyBar.from_raw_data(["banana", "apple",  "pineapple"])
      one + another
docstr: check typical naming: such as y_pred, y_score, y_true
  
  Parameters
  ----------
  things_to_count : list
      The list of elements to count
  
  color : string, default=None
      Color for the bars, must be a valid matplotlib color
  
  name : string, default=None
      A value to identify this plot
docstr_tok: ["check","typical","naming",":","such","as","y_pred",",","y_score",",","y_true","Parameters","--","--","--","--","--","things_to_count",":","list","The","list","of","elements","to","count","color",":","string",",","default=None","Color","for","the","bars",",","must","be","a","valid","matplotlib","color","name",":","string",",","default=None","A","value","to","identify","this","plot"]
code: def from_raw_data(cls, things_to_count, *, color=None, name=None):
      """
      check typical naming: such as y_pred, y_score, y_true
  
      Parameters
      ----------
      things_to_count : list
          The list of elements to count
  
      color : string, default=None
          Color for the bars, must be a valid matplotlib color
  
      name : string, default=None
          A value to identify this plot
      """
      count = Counter(things_to_count)
      # remember to call plot here
      return cls(count, color=color, name=name).plot()
  
imports: from collections import Counter
  import numpy
  import matplotlib.pyplot
  from sklearn_evaluation import __version__
  from sklearn_evaluation.plot.plot import AbstractComposedPlot, AbstractPlot
label_desc: Use image node_id 3 for calling the MyBar obj's underlying member method code with example usage: obj.from_raw_data(cls, things_to_count) and returns: cls