class_docstr: A figure with a text watermark.
class_docstr_tok: ["A","figure","with","a","text","watermark","."]
code: def __init__(self, *args, watermark=None, **kwargs):
      super().__init__(*args, **kwargs)
  
      if watermark is not None:
          bbox = dict(
              boxstyle="square",
              lw=3,
              ec="gray",
              fc=(0.9, 0.9, 0.9, 0.5),
              alpha=0.5,
          )
          self.text(
              0.5,
              0.5,
              watermark,
              ha="center",
              va="center",
              rotation=30,
              fontsize=40,
              color="gray",
              alpha=0.5,
              bbox=bbox,
          )
  
imports: import matplotlib.pyplot
  import numpy
  from matplotlib.figure import Figure
label_desc: Use image node_id 1 to create a new WatermarkFigure object from inherited base classes: Figure with example: obj = WatermarkFigure()