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 =
相關文章
相關標籤/搜索