Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It is rather funny, after having created and displayed an animation the graphics_array shows up as expected with all axis labels.

But when commenting out A.show() the labels appear only in the last graphic.

p1=plot(x^2,(x,-2,2),axes_labels=['x1','y1'])
p2=plot(x^2-1,(x,-2,2),axes_labels=['x2','y2'])
p3=plot(x^2+1,(x,-2,2),axes_labels=['x3','y3'])
p4=plot(x^3,(x,-2,2),axes_labels=['x4','y4'])
A = animate([p1,p2,p3,p4],figsize=6)
A.show()
g = A.graphics_array(ncols=2)
g.show()