Ask Your Question

Revision history [back]

A partial solution (I couldn't stop thinking about this even after I posted the question):

  1. get the Figure object from GraphicsArray._render(): I did this by adding an optional keyword argument return_figure=False to the method, which returns the figure when True

  2. Figure.suptitle() adds a title

  3. Figure.savefig() saves the resulting image

I'd still like to know how to really get a Graphics object, now either from GraphicsArray or from a matplotlib Figure.