Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

previous fontsize settings in plot now produce huge fonts

I have been using p.fontsize(20) a lot, but since the upgrade to 6.8, the same setting now produces HUGE font sizes, making the axes labels exceed the figure sizes. I wonder what happened there and how this could be fixed. I believe that some of the reason is the introduction of the new option axes_labels_size as mentioned here: http://ask.sagemath.org/question/26807/how-do-i-adjust-the-size-of-axes-labels-and-figure-titles-in-plots/

Try this in a sage version before 6.7 and after 6.7:

P = plot(x^2, 0,2)
P.axes_labels(['Some value of x', 'Resulting value of y'])
P.fontsize(20)
P

Is there a way to put a one-liner at the start of my worksheets to get back the old behaviour without having to modify all P.fontsize(20) lines?