python 實(shí)現(xiàn)圖與圖之間的間距調(diào)整subplots_adjust
plt.subplots_adjust(left=None,bottom=None,right=None,top=None,wspace=0.15,hspace=0.15)
圖與圖之間的間距調(diào)整
wspace=0.15,hspace=0.15
補(bǔ)充:python如何調(diào)整subplot的間距
https://matplotlib.org/api/_as_gen/matplotlib.pyplot.subplots_adjust.html
plt.subplots_adjust(left=None, bottom=None, right=None, top=None,wspace=None, hspace=None)
left = 0.125 # the left side of the subplots of the figureright = 0.9 # the right side of the subplots of the figurebottom = 0.1 # the bottom of the subplots of the figuretop = 0.9 # the top of the subplots of the figurewspace = 0.2 # the amount of width reserved for blank space between subplots, # expressed as a fraction of the average axis widthhspace = 0.2 # the amount of height reserved for white space between subplots, # expressed as a fraction of the average axis height
以上為個(gè)人經(jīng)驗(yàn),希望能給大家一個(gè)參考,也希望大家多多支持好吧啦網(wǎng)。
相關(guān)文章:
1. XML入門的常見問題(三)2. .NET Core 分布式任務(wù)調(diào)度ScheduleMaster詳解3. 不要在HTML中濫用div4. HTML5實(shí)戰(zhàn)與剖析之觸摸事件(touchstart、touchmove和touchend)5. CSS清除浮動(dòng)方法匯總6. HTTP協(xié)議常用的請(qǐng)求頭和響應(yīng)頭響應(yīng)詳解說明(學(xué)習(xí))7. XML在語音合成中的應(yīng)用8. ASP將數(shù)字轉(zhuǎn)中文數(shù)字(大寫金額)的函數(shù)9. XML 非法字符(轉(zhuǎn)義字符)10. jscript與vbscript 操作XML元素屬性的代碼
