plt.figure() 能不能加图注

 

plt.title('Interesting Graph',fontsize='large',fontweight='bold') 设置字体大小与格式

plt.title('Interesting Graph',color='blue') 设置字体颜色

plt.title('Interesting Graph',loc ='left') 设置字体位置

plt.title('Interesting Graph',verticalalignment='bottom') 设置垂直对齐方式

plt.title('Interesting Graph',rotation=45) 设置字体旋转角度

plt.title('Interesting',bbox=dict(facecolor='g', edgecolor='blue', alpha=0.65 )) 标题边框

 

可以的

plt.figure(),plt.title("hog_image")
plt.imshow(hog_image)
posted @ 2021-01-12 12:49  bH1pJ  阅读(46)  评论(0编辑  收藏  举报