This figure includes Axes that are not compatible with tight_layout

I want to add controls in matplotlib for interaction, and the result is an error. The error message is as follows:

This figure includes Axes that are not compatible with tight_layout

The solution is also relatively simple, just disable the Python scientific plotting window in Pycharm (then it will use the default matplotlib backend).

File > Settings > Tools > Python > show plots in tool window

Original post address: https://www.coder.work/article/2396074

Guess you like

Origin blog.csdn.net/esa72ya/article/details/108618726