-1

as from the topic .. sometimes happen that given a figure size for print a plot inside the label are partially cut .. as in the example reported enter image description here

there is some trick in order to fit the box and the label/title all inside the figure ?

Drudox lebowsky
  • 1,020
  • 7
  • 21

1 Answers1

2

Try:

plt.savefig('fig.png',  bbox_inches='tight')
some_name.py
  • 777
  • 5
  • 16