class_docstr: An abstract class for all class-based plots
docstr: Must return a dictionary with the data required to serialize the object,
  this used by ``AbstractPlot.dump``. The dictionary should contain a key
  "class" with the plot's dotted path (e.g.,
  ``sklearn_evaluation.plot.SomePlot``), and a "version" key with the current
  package version.
docstr_tok: ["Must","return","a","dictionary","with","the","data","required","to","serialize","the","object",",","this","used","by","``","AbstractPlot.dump","``",".","The","dictionary","should","contain","a","key","''","class","''","with","the","plot","'s","dotted","path","(","e.g.",",","``","sklearn_evaluation.plot.SomePlot","``",")",",","and","a","``","version","''","key","with","the","current","package","version","."]
code: def _get_data(self):
      """Must return a dictionary with the data required to serialize the object,
      this used by ``AbstractPlot.dump``. The dictionary should contain a key
      "class" with the plot's dotted path (e.g.,
      ``sklearn_evaluation.plot.SomePlot``), and a "version" key with the current
      package version.
      """
      pass
  
imports: import json
  from pathlib import Path
  import abc
  from ..report.serialize import figure2html
label_desc: Use image node_id 4 for calling the AbstractPlot obj's underlying member method code with example usage: obj._get_data() without return types