python中如何画图中图

import numpy as np import matplotlib.pyplot as plt #新建figure fig = plt.figure() #定义数据 x = [1, 2, 3, 4, 5, 6, 7] y = [1, 7, 15, 24, 30, 50, 55] #新建区域ax1 #figure的百分比,从figure 10%的位置开始绘制, 宽高是figure的80% le
相关文章
相关标签/搜索