How to set margins of output figure please?
plt.rcParams["figure.figsize"] = [9, 4]
plt.savefig('figure.pdf')
I would like to have minimal white place to top and bottom margins. In the scrip, I remove axes, can it be the problem?
plt.xticks([])
plt.yticks([])
ax.xaxis.set_ticks_position('none')
ax.yaxis.set_ticks_position('none')
