class_docstr: An abstract class for all class-based plots
docstr: All plotting related code must be here with one optional argument ``ax=None``.
  Must assign, ``self.ax_``, and ``self.figure_`` attributes and return ``self``.
docstr_tok: ["All","plotting","related","code","must","be","here","with","one","optional","argument","``","ax=None","``",".","Must","assign",",","``","self.ax_","``",",","and","``","self.figure_","``","attributes","and","return","``","self","``","."]
code: def plot(self, ax=None):
      """
      All plotting related code must be here with one optional argument ``ax=None``.
      Must assign, ``self.ax_``, and ``self.figure_`` attributes and return ``self``.
      """
      pass
  
imports: import json
  from pathlib import Path
  import abc
  from ..report.serialize import figure2html
label_desc: Use image node_id 2 for calling the AbstractPlot obj's underlying member method code with example usage: obj.plot(ax) without return types