You can use plt.tight_layout for that:- import matplotlib.pyplot as plt. fig, axes = plt.subplots(nrows=4, ncols=4). fig.tight_layout().
確定! 回上一頁