import matplotlib.pyplot as plt · f, ax = plt.subplots(2, 2) · #Set main title · f.suptitle('My Figure') · #Set subtitle · ax[0][0].set_title('My Title') · plt.show().
確定! 回上一頁