python入门学习笔记12(plot in plot 图中图)
CODE1:import matplotlib.pyplot as pltfig=plt.figure()x=[1,2,3,4,5,6,7]y=[1,3,4,2,5,8,6]left,bottom,width,height=0.1,0.1,0.8,0.8ax1=fig.add_axes([left,bottom,width,height]) # 设置figure的比例大小a...