matplotlib 中子圖的建立

from matplotlib import pyplot as mweb m.figure(「max」,facecolor=‘lightgray’)svg 子圖1 m.subplot(2,2,1) #設置2行兩列的格式 m.xticks(()) m.yticks(()) m.text(0.5,0.5,‘1’,ha=「center」,va=‘center’,size=36,alpha=0.5)xm
相關文章
相關標籤/搜索