Matplotlib数据可视化——图中图

import matplotlib.pyplot as plt """ 图中图实验 """ # 绘制大图 fig = plt.figure() # 使用figure后每每在函数前要加set_或add_等前缀 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.8 ax1 =
相关文章
相关标签/搜索