Custom Figure subclasses
You can pass a Figure subclass to pyplot.figure if you want to change
the default behavior of the figure.
This example defines a Figure subclass WatermarkFigure that accepts an
additional parameter watermark to display a custom watermark text. The
figure is created using the parameter of .
The additional parameter is passed on to the subclass
constructor.
