I\'m using a custom figure class in a call to pyplot\'s subplot()
subplot()
fig, ax = matplotlib.pyplot.subplots(FigureClass=MyFigure)
and