【python】matplotlib数据可视化(7)——图中图答:import numpy as npimport matplotlib.pyplot as pltfig = plt.figure()x = [1, 2, 3, 4, 5, 6, 7]y = [1, 3, 4, 2, 9, 5, 6]left, bottom, width, height = 0.1, 0.1, 0.8, 0.8 # 从大图左下角10%位置开始,占据80%的宽度和高度ax1 = fig.add_axes([left, ...