Closed imakn634 closed 7 months ago
Because the p.show
method applies tigh_layout()
to the figure:
p = plot(-t**2, (t, -1, 1), show=False)
fig = p.fig
ax = p.ax
fig.tight_layout()
ax.grid(linestyle = 'dotted')
Thank you! fig.tight_layout()
woks!
I'm closing the issue :)
I would like to know why the figure-size gets smaller after setting "ax". Is is possible for the size to remain unchanged?
After setting "ax=p.ax", the figure-size gets slightly smaller.
If possible, I would like to know how to set the size unchanged.