4

I use matplotlib subplots (where one of the subplots is a table),

and after plt.show() I get this warning:

UserWarning: This figure includes Axes that are not compatible with tight_layout, so results might be incorrect.

I have tried to fix it in a few ways without success.

Here is one of the solutions I tried:

fig.set_tight_layout(False)
fig.show()
theletz
  • 1,575
  • 2
  • 14
  • 21

0 Answers0