Answers for "axes not compatible with matplotlib pdf"

Go
0

axes not compatible with matplotlib pdf

# Give bbox_inches='tight' as argument in savefig

plt.savefig('fig.png',bbox_inches='tight')
Posted by: Guest on August-10-2020

Browse Popular Code Answers by Language