佳木斯湛栽影视文化发展公司

主頁 > 知識庫 > python 實(shí)現(xiàn)圖與圖之間的間距調(diào)整subplots_adjust

python 實(shí)現(xiàn)圖與圖之間的間距調(diào)整subplots_adjust

熱門標(biāo)簽:硅谷的囚徒呼叫中心 呼叫中心市場需求 企業(yè)做大做強(qiáng) 百度AI接口 電話運(yùn)營中心 語音系統(tǒng) 客戶服務(wù) Win7旗艦版

如下所示:

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 figure
right = 0.9    # the right side of the subplots of the figure
bottom = 0.1   # the bottom of the subplots of the figure
top = 0.9      # the top of the subplots of the figure
wspace = 0.2   # the amount of width reserved for blank space between subplots,
               # expressed as a fraction of the average axis width
hspace = 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è)參考,也希望大家多多支持腳本之家。

您可能感興趣的文章:
  • Python tkinter布局與按鈕間距設(shè)置方式
  • Python數(shù)據(jù)分析matplotlib設(shè)置多個(gè)子圖的間距方法
  • matplotlib調(diào)整子圖間距,調(diào)整整體空白的方法
  • matplotlib subplots 調(diào)整子圖間矩的實(shí)例

標(biāo)簽:喀什 山西 安康 海南 濟(jì)南 崇左 山西 長沙

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《python 實(shí)現(xiàn)圖與圖之間的間距調(diào)整subplots_adjust》,本文關(guān)鍵詞  ;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 收縮
    • 微信客服
    • 微信二維碼
    • 電話咨詢

    • 400-1100-266
    仁布县| 仙游县| 肃南| 栾城县| 蓬溪县| 固始县| 多伦县| 延长县| 石阡县| 太谷县| 彭州市| 芜湖县| 安龙县| 曲沃县| 乳山市| 临沧市| 靖远县| 西青区| 抚顺市| 吴江市| 上虞市| 玉树县| 平山县| 临西县| 土默特左旗| 湖南省| 花垣县| 金山区| 信丰县| 竹溪县| 界首市| 禄劝| 安丘市| 玉树县| 胶南市| 曲麻莱县| 腾冲县| 金秀| 宁陕县| 莲花县| 青州市|