class_docstr: An abstract class for all class-based plots
docstr: Takes raw unaggregated (for an example of aggregated vs unaggregated data
  see the constructor docstring) data, compute statistics and initializes the
  object. This is the method that users typically use. (e.g., they pass
  ``y_true``, and ``y_pred`` here, we aggregate and call the constructor).
  
  Apart from input data, this method must have the same argument as the
  constructor.
  
  All arguments beyond the input data must be keyword-only (add a *
  argument between the input and the rest of the arguments).
docstr_tok: ["Takes","raw","unaggregated","(","for","an","example","of","aggregated","vs","unaggregated","data","see","the","constructor","docstring",")","data",",","compute","statistics","and","initializes","the","object",".","This","is","the","method","that","users","typically","use",".","(","e.g.",",","they","pass","``","y_true","``",",","and","``","y_pred","``","here",",","we","aggregate","and","call","the","constructor",")",".","Apart","from","input","data",",","this","method","must","have","the","same","argument","as","the","constructor",".","All","arguments","beyond","the","input","data","must","be","keyword-only","(","add","a","*","argument","between","the","input","and","the","rest","of","the","arguments",")","."]
code: def from_raw_data(cls):
      """Takes raw unaggregated (for an example of aggregated vs unaggregated data
      see the constructor docstring) data, compute statistics and initializes the
      object. This is the method that users typically use. (e.g., they pass
      ``y_true``, and ``y_pred`` here, we aggregate and call the constructor).
  
      Apart from input data, this method must have the same argument as the
      constructor.
  
      All arguments beyond the input data must be keyword-only (add a *
      argument between the input and the rest of the arguments).
      """
      pass
  
imports: import json
  from pathlib import Path
  import abc
  from ..report.serialize import figure2html
label_desc: Use image node_id 3 for calling the AbstractPlot obj's underlying member method code with example usage: obj.from_raw_data(cls) without return types