📅  最后修改于: 2022-03-11 14:46:05.187000             🧑  作者: Mango
# Error:
# After saving your plots, parts of the plot (legend, labels, etc) are
# cut off.
# Solution:
# Add bbox_inches='tight'
plt.savefig('my_figure', bbox_inches='tight')