class_docstr: An abstract class for all class-based plots
docstr: Instantiates a plot object from a path to a JSON file. A default
  implementation is provided, but you might override it.
docstr_tok: ["Instantiates","a","plot","object","from","a","path","to","a","JSON","file",".","A","default","implementation","is","provided",",","but","you","might","override","it","."]
code: def from_dump(cls, path):
      """Instantiates a plot object from a path to a JSON file. A default
      implementation is provided, but you might override it.
      """
      data = json.loads(Path(path).read_text(encoding="utf-8"))
      del data["version"]
      del data["class"]
      return cls(**data).plot()
  
imports: import json
  from pathlib import Path
  import abc
  from ..report.serialize import figure2html
label_desc: Use image node_id 9 for calling the AbstractPlot obj's underlying member method code with example usage: obj.from_dump(cls, path) and returns: cls