Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This must be pretty new functionality, because in Sage 5.2

verbose 0 (138:, options) WARNING: Ignoring option 'title'=Lena image

and indeed there is no title. In Sage 5.3 we have the following picture, as you point out.

image description

And it looks like [#10512: Jason Grout, Punarbasu Purkayastha, Sébastien Labbé: wrap matplotlib's title functionality Reviewed by Sébastien Labbé, Punarbasu Purkayastha is what happened here - it adds the functionality, but didn't realize that with matrix_plot you will get stuff like this. But compare

sage: matrix_plot(data,axes_labels=piclabels, title='Lena image',origin='lower')

image description

So I think that this will be pretty easy to fix by moving the title like we do for regular plots. I've opened Trac 13625 for this.